# TOMLAB  
# REGISTER (TOMLAB)
# LOGIN  
# myTOMLAB
TOMLAB LOGO

« Previous « Start » Next »

19  Traveling Salesman Problems

In tsp_prob there are 25 traveling salesman problems. They are converted with the function makeInput in tsp_prob.m to mixed-integer linear problems. The field Prob.TSP contains the original input data. In order to define problem n and solve it, execute the following in Matlab:
  Prob = probInit('tsp_prob',n);
  Prob.PriLevOpt = 1;
  Prob.MIP.cpxControl.TILIM = 360;
  Result = tomRun('cplex', Prob, 1);

« Previous « Start » Next »