OR-Tools  8.1
linear_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.
 

Functions

 ABSL_FLAG (bool, verify_solution, false, "Systematically verify the solution when calling Solve()" ", and change the return value of Solve() to ABNORMAL if" " an error was detected.")
 
 ABSL_FLAG (bool, log_verification_errors, true, "If --verify_solution is set: LOG(ERROR) all errors detected" " during the verification of the solution.")
 
 ABSL_FLAG (bool, linear_solver_enable_verbose_output, false, "If set, enables verbose output for the solver. Setting this flag" " is the same as calling MPSolver::EnableOutput().")
 
 ABSL_FLAG (bool, mpsolver_bypass_model_validation, false, "If set, the user-provided Model won't be verified before Solve()." " Invalid models will typically trigger various error responses" " from the underlying solvers; sometimes crashes.")
 
bool SolverTypeIsMip (MPModelRequest::SolverType solver_type)
 
MPSolverInterface * BuildCLPInterface (MPSolver *const solver)
 
MPSolverInterface * BuildCBCInterface (MPSolver *const solver)
 
MPSolverInterface * BuildBopInterface (MPSolver *const solver)
 
MPSolverInterface * BuildGLOPInterface (MPSolver *const solver)
 
MPSolverInterface * BuildSatInterface (MPSolver *const solver)
 
MPSolverInterface * BuildSCIPInterface (MPSolver *const solver)
 
MPSolverInterface * BuildGurobiInterface (bool mip, MPSolver *const solver)
 
const absl::string_view ToString (MPSolver::OptimizationProblemType optimization_problem_type)
 
bool AbslParseFlag (const absl::string_view text, MPSolver::OptimizationProblemType *solver_type, std::string *error)
 
bool MPSolverResponseStatusIsRpcError (MPSolverResponseStatus status)
 

Variables

constexpr NamedOptimizationProblemType kOptimizationProblemTypeNames []
 

Function Documentation

◆ ABSL_FLAG() [1/4]

ABSL_FLAG ( bool  ,
linear_solver_enable_verbose_output  ,
false  ,
"If  set,
enables verbose output for the solver. Setting this flag" " is the same as calling MPSolver::EnableOutput()."   
)

◆ ABSL_FLAG() [2/4]

ABSL_FLAG ( bool  ,
log_verification_errors  ,
true  ,
"If --verify_solution is set: LOG(ERROR) all errors detected" " during the verification of the solution."   
)

◆ ABSL_FLAG() [3/4]

ABSL_FLAG ( bool  ,
mpsolver_bypass_model_validation  ,
false  ,
"If  set,
the user-provided Model won 't be verified before Solve()." " Invalid models will typically trigger various error responses" " from the underlying solvers;sometimes crashes."   
)

◆ ABSL_FLAG() [4/4]

ABSL_FLAG ( bool  ,
verify_solution  ,
false  ,
"Systematically verify the solution when calling Solve()" "  ,
and change the return value of Solve() to ABNORMAL if" " an error was detected."   
)

Variable Documentation

◆ name

absl::string_view name

Definition at line 504 of file linear_solver.cc.

◆ problem_type

MPSolver::OptimizationProblemType problem_type

Definition at line 503 of file linear_solver.cc.