idol
A C++ Framework for Optimization
|
Public Member Functions | |
VarImplT & | operator[] (const Var &t_var) |
const VarImplT & | operator[] (const Var &t_var) const |
CtrImplT & | operator[] (const Ctr &t_ctr) |
const CtrImplT & | operator[] (const Ctr &t_ctr) const |
Protected Member Functions | |
OptimizerWithLazyUpdates (const Model &t_parent) | |
void | build () final |
virtual void | hook_build ()=0 |
void | write (const std::string &t_name) final |
virtual void | hook_write (const std::string &t_name)=0 |
void | add (const Var &t_var) final |
virtual VarImplT | hook_add (const Var &t_var, bool t_add_column)=0 |
void | add (const Ctr &t_ctr) final |
virtual CtrImplT | hook_add (const Ctr &t_ctr)=0 |
void | add (const QCtr &t_ctr) final |
virtual QCtrImplT | hook_add (const QCtr &t_ctr)=0 |
void | add (const SOSCtr &t_ctr) final |
virtual SOSCtrImplT | hook_add (const SOSCtr &t_ctr)=0 |
virtual void | hook_update_objective_sense ()=0 |
virtual void | hook_update_matrix (const Ctr &t_ctr, const Var &t_var, double t_constant)=0 |
void | update () final |
virtual void | hook_update ()=0 |
virtual void | hook_update (const Var &t_var)=0 |
virtual void | hook_update (const Ctr &t_ctr)=0 |
virtual void | hook_update_objective ()=0 |
virtual void | hook_update_rhs ()=0 |
void | remove (const Var &t_var) final |
virtual void | hook_remove (const Var &t_var)=0 |
void | remove (const Ctr &t_ctr) final |
virtual void | hook_remove (const Ctr &t_ctr)=0 |
void | remove (const QCtr &t_ctr) final |
virtual void | hook_remove (const QCtr &t_ctr)=0 |
void | remove (const SOSCtr &t_ctr) final |
virtual void | hook_remove (const SOSCtr &t_ctr)=0 |
bool | has_lazy (const Var &t_var) const |
bool | has_lazy (const Ctr &t_ctr) const |
bool | has_lazy (const QCtr &t_qctr) const |
auto & | lazy (const Var &t_var) |
const auto & | lazy (const Var &t_var) const |
auto & | lazy (const Ctr &t_ctr) |
const auto & | lazy (const Ctr &t_ctr) const |
auto & | lazy (const QCtr &t_ctr) |
const auto & | lazy (const QCtr &t_ctr) const |
auto & | lazy (const SOSCtr &t_ctr) |
const auto & | lazy (const SOSCtr &t_ctr) const |
auto & | lazy_vars () |
const auto & | lazy_vars () const |
auto & | lazy_ctrs () |
const auto & | lazy_ctrs () const |
auto & | lazy_qctrs () |
const auto & | lazy_qctrs () const |
auto & | lazy_sosctrs () |
const auto & | lazy_sosctrs () const |
void | set_objective_to_be_updated () |
bool | is_objective_to_be_updated () const |
void | set_objective_as_updated () |
void | set_rhs_to_be_updated () |
bool | is_rhs_to_be_updated () const |
void | set_rhs_as_updated () |
void | update_obj_sense () override |
void | update_obj () override |
void | update_rhs () override |
void | update_obj_constant () override |
void | update_mat_coeff (const Ctr &t_ctr, const Var &t_var) override |
void | update_ctr_type (const Ctr &t_ctr) override |
void | update_ctr_rhs (const Ctr &t_ctr) override |
void | update_var_type (const Var &t_var) override |
void | update_var_lb (const Var &t_var) override |
void | update_var_ub (const Var &t_var) override |
void | update_var_obj (const Var &t_var) override |
Definition at line 53 of file OptimizerWithLazyUpdates.h.
|
explicitprotected |
Definition at line 249 of file OptimizerWithLazyUpdates.h.
|
finalprotected |
Definition at line 431 of file OptimizerWithLazyUpdates.h.
|
finalprotected |
Definition at line 443 of file OptimizerWithLazyUpdates.h.
|
finalprotected |
Definition at line 456 of file OptimizerWithLazyUpdates.h.
|
finalprotected |
Definition at line 469 of file OptimizerWithLazyUpdates.h.
|
finalprotected |
Definition at line 254 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 131 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 136 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 126 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 166 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 170 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 144 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 145 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 147 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 148 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 150 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 151 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 141 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 142 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 156 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 157 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 159 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 160 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 162 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 163 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 153 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 154 of file OptimizerWithLazyUpdates.h.
|
inline |
Definition at line 188 of file OptimizerWithLazyUpdates.h.
|
inline |
Definition at line 189 of file OptimizerWithLazyUpdates.h.
|
inline |
Definition at line 185 of file OptimizerWithLazyUpdates.h.
|
inline |
Definition at line 186 of file OptimizerWithLazyUpdates.h.
|
finalprotected |
Definition at line 496 of file OptimizerWithLazyUpdates.h.
|
finalprotected |
Definition at line 511 of file OptimizerWithLazyUpdates.h.
|
finalprotected |
Definition at line 526 of file OptimizerWithLazyUpdates.h.
|
finalprotected |
Definition at line 481 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 167 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 165 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 171 of file OptimizerWithLazyUpdates.h.
|
inlineprotected |
Definition at line 169 of file OptimizerWithLazyUpdates.h.
|
finalprotected |
Definition at line 291 of file OptimizerWithLazyUpdates.h.
|
overrideprotected |
Definition at line 213 of file OptimizerWithLazyUpdates.h.
|
overrideprotected |
Definition at line 218 of file OptimizerWithLazyUpdates.h.
|
overrideprotected |
Definition at line 223 of file OptimizerWithLazyUpdates.h.
|
overrideprotected |
Definition at line 233 of file OptimizerWithLazyUpdates.h.
|
overrideprotected |
Definition at line 228 of file OptimizerWithLazyUpdates.h.
|
overrideprotected |
Definition at line 238 of file OptimizerWithLazyUpdates.h.
|
overrideprotected |
Definition at line 244 of file OptimizerWithLazyUpdates.h.
|
overrideprotected |
Definition at line 203 of file OptimizerWithLazyUpdates.h.
|
overrideprotected |
Definition at line 198 of file OptimizerWithLazyUpdates.h.
|
overrideprotected |
Definition at line 208 of file OptimizerWithLazyUpdates.h.
|
overrideprotected |
Definition at line 193 of file OptimizerWithLazyUpdates.h.
|
finalprotected |
Definition at line 285 of file OptimizerWithLazyUpdates.h.