OR-Tools  8.1
lp_solver.cc File Reference

Go to the source code of this file.

Namespaces

 operations_research
 The vehicle routing library lets one model and solve generic vehicle routing problems ranging from the Traveling Salesman Problem to more complex problems such as the Capacitated Vehicle Routing Problem with Time Windows.
 
 operations_research::glop
 

Functions

 ABSL_FLAG (bool, lp_solver_enable_fp_exceptions, false, "When true, NaNs and division / zero produce errors. " "This is very useful for debugging, but incompatible with LLVM. " "It is recommended to set this to false for production usage.")
 
 ABSL_FLAG (bool, lp_dump_to_proto_file, false, "Tells whether do dump the problem to a protobuf file.")
 
 ABSL_FLAG (bool, lp_dump_compressed_file, true, "Whether the proto dump file is compressed.")
 
 ABSL_FLAG (bool, lp_dump_binary_file, false, "Whether the proto dump file is binary.")
 
 ABSL_FLAG (int, lp_dump_file_number, -1, "Number for the dump file, in the form name-000048.pb. " "If < 0, the file is automatically numbered from the number of " "calls to LPSolver::Solve().")
 
 ABSL_FLAG (std::string, lp_dump_dir, "/tmp", "Directory where dump files are written.")
 
 ABSL_FLAG (std::string, lp_dump_file_basename, "", "Base name for dump files. LinearProgram::name_ is used if " "lp_dump_file_basename is empty. If LinearProgram::name_ is " "empty, \"linear_program_dump_file\" is used.")
 

Function Documentation

◆ ABSL_FLAG() [1/7]

ABSL_FLAG ( bool  ,
lp_dump_binary_file  ,
false  ,
"Whether the proto dump file is binary."   
)

◆ ABSL_FLAG() [2/7]

ABSL_FLAG ( bool  ,
lp_dump_compressed_file  ,
true  ,
"Whether the proto dump file is compressed."   
)

◆ ABSL_FLAG() [3/7]

ABSL_FLAG ( bool  ,
lp_dump_to_proto_file  ,
false  ,
"Tells whether do dump the problem to a protobuf file."   
)

◆ ABSL_FLAG() [4/7]

ABSL_FLAG ( bool  ,
lp_solver_enable_fp_exceptions  ,
false  ,
"When  true,
NaNs and division/zero produce errors. " "This is very useful for  debugging,
but incompatible with LLVM. " "It is recommended to set this to false for production usage."   
)

◆ ABSL_FLAG() [5/7]

ABSL_FLAG ( int  ,
lp_dump_file_number  ,
1,
"Number for the dump  file 
)

◆ ABSL_FLAG() [6/7]

ABSL_FLAG ( std::string  ,
lp_dump_dir  ,
"/tmp"  ,
"Directory where dump files are written."   
)

◆ ABSL_FLAG() [7/7]

ABSL_FLAG ( std::string  ,
lp_dump_file_basename  ,
""  ,
"Base name for dump files. LinearProgram::name_ is used if " "lp_dump_file_basename is empty. If LinearProgram::name_ is " "  empty,
\"linear_program_dump_file\" is used."   
)