![]() |
OR-Tools
8.2
|
Definition at line 43 of file bop_base.h.
Public Types | |
enum | Status { OPTIMAL_SOLUTION_FOUND , SOLUTION_FOUND , INFEASIBLE , LIMIT_REACHED , INFORMATION_FOUND , CONTINUE , ABORT } |
Public Member Functions | |
BopOptimizerBase (const std::string &name) | |
virtual | ~BopOptimizerBase () |
const std::string & | name () const |
virtual bool | ShouldBeRun (const ProblemState &problem_state) const =0 |
virtual Status | Optimize (const BopParameters ¶meters, const ProblemState &problem_state, LearnedInfo *learned_info, TimeLimit *time_limit)=0 |
Static Public Member Functions | |
static std::string | GetStatusString (Status status) |
Protected Attributes | |
const std::string | name_ |
StatsGroup | stats_ |
enum Status |
Enumerator | |
---|---|
OPTIMAL_SOLUTION_FOUND | |
SOLUTION_FOUND | |
INFEASIBLE | |
LIMIT_REACHED | |
INFORMATION_FOUND | |
CONTINUE | |
ABORT |
Definition at line 64 of file bop_base.h.
|
explicit |
Definition at line 30 of file bop_base.cc.
|
virtual |
Definition at line 35 of file bop_base.cc.
|
static |
Definition at line 39 of file bop_base.cc.
|
inline |
Definition at line 49 of file bop_base.h.
|
pure virtual |
|
pure virtual |
|
protected |
Definition at line 101 of file bop_base.h.
|
mutableprotected |
Definition at line 103 of file bop_base.h.