Optimizers::GLPK

class GLPK : public idol::OptimizerWithLazyUpdates<int, int>

Public Functions

explicit GLPK(const Model &t_model, bool t_continuous_relaxation)
inline virtual std::string name() const override
virtual void set_param_time_limit(double t_time_limit) override
virtual void set_param_best_obj_stop(double t_best_obj_stop) override
virtual void set_param_best_bound_stop(double t_best_bound_stop) override
virtual void set_param_presolve(bool t_value) override
virtual void set_param_logs(bool t_value) override
inline int &operator[](const Var &t_var)
inline const int &operator[](const Var &t_var) const
inline int &operator[](const Ctr &t_ctr)
inline const int &operator[](const Ctr &t_ctr) const
inline virtual const ::idol::Model &parent() const
inline bool get_param_logs() const
inline double get_param_time_limit() const
inline unsigned int get_param_thread_limit() const
inline virtual void set_param_threads(unsigned int t_threads)
double get_param_best_obj_stop() const
double get_param_best_bound_stop() const
inline double get_tol_mip_relative_gap() const
inline virtual void set_tol_mip_relative_gap(double t_tol_mip_relative_gap)
inline double get_tol_mip_absolute_gap() const
inline virtual void set_tol_mip_absolute_gap(double t_mip_tol_absolute_gap)
inline double get_tol_feasibility() const
inline virtual void set_tol_feasibility(double t_tol_feasibility)
inline double get_tol_optimality() const
inline virtual void set_tol_optimality(double t_tol_optimality)
inline double get_tol_integer() const
inline virtual void set_tol_integer(double t_tol_integer)
inline unsigned int get_param_iteration_limit() const
inline void set_param_iteration_limit(unsigned int t_iteration_limit)
inline bool get_param_presolve() const
inline bool get_param_infeasible_or_unbounded_info() const
inline virtual void set_param_infeasible_or_unbounded_info(bool t_value)
inline const Timer &time() const
double get_remaining_time() const
inline bool is_terminated() const
virtual void terminate()
template<class T>
inline T &as()
template<class T>
inline const T &as() const
template<class T>
inline bool is() const

Public Static Functions

static Model read_from_file(Env &t_env, const std::string &t_filename)