 |
OR-Tools
8.1
|
Go to the documentation of this file.
14 #ifndef OR_TOOLS_BOP_BOP_SOLVER_H_
15 #define OR_TOOLS_BOP_BOP_SOLVER_H_
63 explicit BopSolver(
const sat::LinearBooleanProblem& problem);
92 void UpdateParameters();
96 const sat::LinearBooleanProblem& problem_;
98 BopParameters parameters_;
104 #endif // OR_TOOLS_BOP_BOP_SOLVER_H_
double GetScaledGap() const
const BopSolution & solution() const
BopSolver(const sat::LinearBooleanProblem &problem)
void SetParameters(const BopParameters ¶meters)
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
bool GetSolutionValue(VariableIndex var_id) const
bool Value(VariableIndex var) const
A simple class to enforce both an elapsed time limit and a deterministic time limit in the same threa...
SharedTimeLimit * time_limit
const BopSolution & best_solution() const
double GetScaledBestBound() const
BopSolveStatus SolveWithTimeLimit(TimeLimit *time_limit)