idol
A C++ Framework for Optimization
|
Public Member Functions | |
GLPK (const Model &t_model, bool t_continuous_relaxation) | |
std::string | name () const override |
void | set_param_time_limit (double t_time_limit) override |
void | set_param_best_obj_stop (double t_best_obj_stop) override |
void | set_param_best_bound_stop (double t_best_bound_stop) override |
void | set_param_presolve (bool t_value) override |
void | set_param_logs (bool t_value) override |
int & | operator[] (const Var &t_var) |
const int & | operator[] (const Var &t_var) const |
int & | operator[] (const Ctr &t_ctr) |
const int & | operator[] (const Ctr &t_ctr) const |
Static Public Member Functions | |
static Model | read_from_file (Env &t_env, const std::string &t_filename) |
Protected Member Functions | |
void | hook_build () override |
void | hook_optimize () override |
void | hook_write (const std::string &t_name) override |
int | hook_add (const Var &t_var, bool t_add_column) override |
int | hook_add (const Ctr &t_ctr) override |
int | hook_add (const QCtr &t_ctr) override |
int | hook_add (const SOSCtr &t_ctr) override |
void | hook_update_objective_sense () override |
void | hook_update_matrix (const Ctr &t_ctr, const Var &t_var, double t_constant) override |
void | hook_update () override |
void | hook_update (const Var &t_var) override |
void | hook_update (const Ctr &t_ctr) override |
void | hook_update_objective () override |
void | hook_update_rhs () override |
void | hook_remove (const Var &t_var) override |
void | hook_remove (const Ctr &t_ctr) override |
void | hook_remove (const QCtr &t_ctr) override |
void | hook_remove (const SOSCtr &t_ctr) override |
void | set_var_attr (int t_index, int t_type, double t_lb, double t_ub, double t_obj) |
void | set_ctr_attr (int t_index, int t_type, double t_rhs) |
void | save_simplex_solution_status () |
void | compute_farkas_certificate () |
void | compute_unbounded_ray () |
void | save_milp_solution_status () |
SolutionStatus | get_status () const override |
SolutionReason | get_reason () const override |
double | get_best_obj () const override |
double | get_best_bound () const override |
double | get_var_primal (const Var &t_var) const override |
double | get_var_reduced_cost (const Var &t_var) const override |
double | get_var_ray (const Var &t_var) const override |
double | get_ctr_dual (const Ctr &t_ctr) const override |
double | get_ctr_farkas (const Ctr &t_ctr) const override |
double | get_relative_gap () const override |
double | get_absolute_gap () const override |
unsigned int | get_n_solutions () const override |
unsigned int | get_solution_index () const override |
void | set_solution_index (unsigned int t_index) override |
void | build () final |
void | write (const std::string &t_name) final |
void | add (const Var &t_var) final |
void | add (const Ctr &t_ctr) final |
void | add (const QCtr &t_ctr) final |
void | add (const SOSCtr &t_ctr) final |
void | update () final |
void | remove (const Var &t_var) final |
void | remove (const Ctr &t_ctr) final |
void | remove (const QCtr &t_ctr) final |
void | remove (const SOSCtr &t_ctr) final |
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 |
Static Protected Member Functions | |
static Model | read_from_glpk (idol::Env &t_env, glp_prob *t_model) |
static Model | read_from_lp_file (Env &t_env, const std::string &t_filename) |
static Model | read_from_mps_file (Env &t_env, const std::string &t_filename) |
Definition at line 19 of file Optimizers_GLPK.h.
|
finalprotectedinherited |
Definition at line 93 of file OptimizerWithLazyUpdates.h.
|
finalprotectedinherited |
Definition at line 96 of file OptimizerWithLazyUpdates.h.
|
finalprotectedinherited |
Definition at line 99 of file OptimizerWithLazyUpdates.h.
|
finalprotectedinherited |
Definition at line 90 of file OptimizerWithLazyUpdates.h.
|
finalprotectedinherited |
Definition at line 84 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 131 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 136 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 126 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
inlineprotectedinherited |
Definition at line 166 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 170 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 144 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 145 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 147 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 148 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 150 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 151 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 141 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 142 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 156 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 157 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 159 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 160 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 162 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 163 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 153 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 154 of file OptimizerWithLazyUpdates.h.
|
inlineoverride |
Definition at line 103 of file Optimizers_GLPK.h.
|
inlineinherited |
Definition at line 188 of file OptimizerWithLazyUpdates.h.
|
inlineinherited |
Definition at line 189 of file OptimizerWithLazyUpdates.h.
|
inlineinherited |
Definition at line 185 of file OptimizerWithLazyUpdates.h.
|
inlineinherited |
Definition at line 186 of file OptimizerWithLazyUpdates.h.
|
finalprotectedinherited |
Definition at line 117 of file OptimizerWithLazyUpdates.h.
|
finalprotectedinherited |
Definition at line 120 of file OptimizerWithLazyUpdates.h.
|
finalprotectedinherited |
Definition at line 123 of file OptimizerWithLazyUpdates.h.
|
finalprotectedinherited |
Definition at line 114 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 167 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 165 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 171 of file OptimizerWithLazyUpdates.h.
|
inlineprotectedinherited |
Definition at line 169 of file OptimizerWithLazyUpdates.h.
|
finalprotectedinherited |
Definition at line 105 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedinherited |
Definition at line 179 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedinherited |
Definition at line 178 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedinherited |
Definition at line 177 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedinherited |
Definition at line 174 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedinherited |
Definition at line 176 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedinherited |
Definition at line 173 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedinherited |
Definition at line 175 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedinherited |
Definition at line 181 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedinherited |
Definition at line 183 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedinherited |
Definition at line 180 of file OptimizerWithLazyUpdates.h.
|
overrideprotectedinherited |
Definition at line 182 of file OptimizerWithLazyUpdates.h.
|
finalprotectedinherited |
Definition at line 87 of file OptimizerWithLazyUpdates.h.