![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 47 of file bop_base.h.
#include <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_ |
| Enumerator | |
|---|---|
| OPTIMAL_SOLUTION_FOUND | |
| SOLUTION_FOUND | |
| INFEASIBLE | |
| LIMIT_REACHED | |
| INFORMATION_FOUND | |
| CONTINUE | |
| ABORT | |
Definition at line 68 of file bop_base.h.
|
explicit |
Definition at line 44 of file bop_base.cc.
|
virtual |
Definition at line 49 of file bop_base.cc.
|
static |
Definition at line 53 of file bop_base.cc.
|
inline |
Definition at line 53 of file bop_base.h.
|
pure virtual |
|
pure virtual |
|
protected |
Definition at line 105 of file bop_base.h.
|
mutableprotected |
Definition at line 107 of file bop_base.h.