![]() |
OR-Tools
9.6
|
Definition at line 46 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 (absl::string_view 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 67 of file bop_base.h.
|
explicit |
Definition at line 32 of file bop_base.cc.
|
virtual |
Definition at line 37 of file bop_base.cc.
|
static |
Definition at line 41 of file bop_base.cc.
|
inline |
Definition at line 52 of file bop_base.h.
|
pure virtual |
|
pure virtual |
|
protected |
Definition at line 104 of file bop_base.h.
|
mutableprotected |
Definition at line 106 of file bop_base.h.