OR-Tools  9.3
tsp.cc File Reference

Go to the source code of this file.

Functions

 ABSL_FLAG (int, num_cities, 50, "Number of cities in random TSP.")
 
 ABSL_FLAG (std::string, output, "", "Write a svg of the solution here, or to standard out if empty.")
 
 ABSL_FLAG (bool, test_instance, false, "Solve the test TSP instead of a random instance.")
 
 ABSL_FLAG (int, threads, 0, "How many threads to solve with, or solver default if <= 0.")
 
int main (int argc, char **argv)
 

Function Documentation

◆ ABSL_FLAG() [1/4]

ABSL_FLAG ( bool  ,
test_instance  ,
false  ,
"Solve the test TSP instead of a random instance."   
)

◆ ABSL_FLAG() [2/4]

ABSL_FLAG ( int  ,
num_cities  ,
50  ,
"Number of cities in random TSP."   
)

◆ ABSL_FLAG() [3/4]

ABSL_FLAG ( int  ,
threads  ,
,
"How many threads to solve  with,
or solver default if<=0."   
)

◆ ABSL_FLAG() [4/4]

ABSL_FLAG ( std::string  ,
output  ,
""  ,
"Write a svg of the solution  here,
or to standard out if empty."   
)

◆ main()

int main ( int  argc,
char **  argv 
)
Examples
tsp.cc.

Definition at line 347 of file tsp.cc.