Before executing a genetic algorithm, you must specify the objective function to be optimized. Either you can define a function in your GA procedure input and designate it to be your objective function with the SetObjFunc call, or you can specify an objective function that the GA procedure provides with a SetObj call. The GA procedure currently supports the traveling salesman problem objective.