![]() |
OR-Tools
8.2
|
Definition at line 63 of file bop_portfolio.h.
Public Types | |
enum | Status { OPTIMAL_SOLUTION_FOUND , SOLUTION_FOUND , INFEASIBLE , LIMIT_REACHED , INFORMATION_FOUND , CONTINUE , ABORT } |
Public Member Functions | |
PortfolioOptimizer (const ProblemState &problem_state, const BopParameters ¶meters, const BopSolverOptimizerSet &optimizer_set, const std::string &name) | |
~PortfolioOptimizer () 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 |
const std::string & | name () const |
Static Public Member Functions | |
static std::string | GetStatusString (Status status) |
Protected Attributes | |
const std::string | name_ |
StatsGroup | stats_ |
|
inherited |
Enumerator | |
---|---|
OPTIMAL_SOLUTION_FOUND | |
SOLUTION_FOUND | |
INFEASIBLE | |
LIMIT_REACHED | |
INFORMATION_FOUND | |
CONTINUE | |
ABORT |
Definition at line 64 of file bop_base.h.
PortfolioOptimizer | ( | const ProblemState & | problem_state, |
const BopParameters & | parameters, | ||
const BopSolverOptimizerSet & | optimizer_set, | ||
const std::string & | name | ||
) |
Definition at line 62 of file bop_portfolio.cc.
|
override |
Definition at line 79 of file bop_portfolio.cc.
|
staticinherited |
Definition at line 39 of file bop_base.cc.
|
inlineinherited |
Definition at line 49 of file bop_base.h.
|
overridevirtual |
Implements BopOptimizerBase.
Definition at line 124 of file bop_portfolio.cc.
|
inlineoverridevirtual |
Implements BopOptimizerBase.
Definition at line 71 of file bop_portfolio.h.
|
protectedinherited |
Definition at line 101 of file bop_base.h.
|
mutableprotectedinherited |
Definition at line 103 of file bop_base.h.