\brief Main-function * \relates TSP */
| 318 | * \relates TSP |
| 319 | */ |
| 320 | int |
| 321 | main(int argc, char* argv[]) { |
| 322 | SizeOptions opt("TSP"); |
| 323 | opt.solutions(0); |
| 324 | opt.ipl(IPL_DOM); |
| 325 | opt.parse(argc,argv); |
| 326 | |
| 327 | if (opt.size() >= ps_n) { |
| 328 | std::cerr << "Error: size must be between 0 and " |
| 329 | << ps_n-1 << std::endl; |
| 330 | return 1; |
| 331 | } |
| 332 | |
| 333 | IntMinimizeScript::run<TSP,BAB,SizeOptions>(opt); |
| 334 | return 0; |
| 335 | } |
| 336 | |
| 337 | // STATISTICS: example-any |