 |
OR-Tools
8.1
|
Go to the documentation of this file.
14 #ifndef OR_TOOLS_BOP_BOP_FS_H_
15 #define OR_TOOLS_BOP_BOP_FS_H_
69 int64 state_update_stamp_;
70 std::unique_ptr<sat::SatSolver> sat_solver_;
134 double ComputeLowerBoundUsingStrongBranching(
LearnedInfo* learned_info,
139 bool CostIsWorseThanSolution(
double scaled_cost,
double tolerance)
const;
141 const BopParameters parameters_;
142 int64 state_update_stamp_;
143 bool lp_model_loaded_;
144 int num_full_solves_;
149 int num_fixed_variables_;
150 bool problem_already_solved_;
151 double scaled_solution_cost_;
156 #endif // OR_TOOLS_BOP_BOP_FS_H_
Status Optimize(const BopParameters ¶meters, const ProblemState &problem_state, LearnedInfo *learned_info, TimeLimit *time_limit) override
const std::string & name() const
Status Optimize(const BopParameters ¶meters, const ProblemState &problem_state, LearnedInfo *learned_info, TimeLimit *time_limit) override
LinearRelaxation(const BopParameters ¶meters, const std::string &name)
bool ShouldBeRun(const ProblemState &problem_state) const override
bool ShouldBeRun(const ProblemState &problem_state) const override
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
A simple class to enforce both an elapsed time limit and a deterministic time limit in the same threa...
~GuidedSatFirstSolutionGenerator() override
SharedTimeLimit * time_limit
BopRandomFirstSolutionGenerator(const std::string &name, const BopParameters ¶meters, sat::SatSolver *sat_propagator, MTRandom *random)
GuidedSatFirstSolutionGenerator(const std::string &name, Policy policy)
~LinearRelaxation() override
~BopRandomFirstSolutionGenerator() override
bool ShouldBeRun(const ProblemState &problem_state) const override
Status Optimize(const BopParameters ¶meters, const ProblemState &problem_state, LearnedInfo *learned_info, TimeLimit *time_limit) override