idol
A C++ Framework for Optimization
Loading...
Searching...
No Matches
idol::DantzigWolfe::Formulation Class Reference
Collaboration diagram for idol::DantzigWolfe::Formulation:
Collaboration graph

Public Member Functions

 Formulation (const Model &t_original_formulation, const Annotation< unsigned int > &t_decomposition)
 
Modelmaster ()
 
const Modelmaster () const
 
auto sub_problems ()
 
auto sub_problems () const
 
auto present_generators (unsigned int t_id) const
 
Modelsub_problem (unsigned int t_id)
 
const Modelsub_problem (unsigned int t_id) const
 
Modelget_model (const Var &t_var)
 
const Modelget_model (const Var &t_var) const
 
Modelget_model (const Ctr &t_ctr)
 
const Modelget_model (const Ctr &t_ctr) const
 
const Annotation< unsigned int > & decomposition () const
 
const GeneratorPool< Var > & column_pool (unsigned int t_sub_problem_id) const
 
unsigned int n_sub_problems () const
 
void add_aggregation_constraint (unsigned int t_sub_problem_id, double t_lower_multiplicity, double t_upper_multiplicity)
 
AffExpr< Varcompute_sub_problem_objective (unsigned int t_sub_problem_id, const DualPoint &t_master_dual, bool t_use_farkas=false) const
 
void update_sub_problem_objective (unsigned int t_sub_problem_id, const DualPoint &t_master_dual, bool t_use_farkas=false)
 
void generate_column (unsigned int t_sub_problem_id, PrimalPoint t_generator)
 
double compute_reduced_cost (unsigned int t_sub_problem_id, const DualPoint &t_master_dual, const PrimalPoint &t_generator)
 
const GenerationPattern< Var > & generation_pattern (const Var &t_var) const
 
double get_original_space_var_primal (const Var &t_var, const PrimalPoint &t_master_primal) const
 
void update_var_lb (const Var &t_var, double t_lb, bool t_hard, bool t_remove_infeasible_columns)
 
void update_var_ub (const Var &t_var, double t_ub, bool t_hard, bool t_remove_infeasible_columns)
 
void remove_column_if (unsigned int t_sub_problem_id, const std::function< bool(const Var &, const PrimalPoint &)> &t_indicator_for_removal)
 
void update_obj (const QuadExpr< Var > &t_expr)
 
void update_var_obj (const Var &t_var, double t_obj)
 
void clean_up (unsigned int t_sub_problem_id, double t_ratio)
 
void add (const Var &t_var, double t_lb, double t_ub, VarType t_type, const LinExpr< Ctr > &t_column)
 
void add (const Ctr &t_ctr, CtrType t_type, const LinExpr< Var > &t_row)
 
void remove (const Var &t_var)
 
void remove (const Ctr &t_ctr)
 
unsigned int get_n_present_generators () const
 
void load_columns_from_pool ()
 
void add_sub_problem ()
 

Detailed Description

Definition at line 17 of file Formulation.h.

Member Function Documentation

◆ column_pool()

const GeneratorPool< Var > & idol::DantzigWolfe::Formulation::column_pool ( unsigned int  t_sub_problem_id) const
inline

Definition at line 68 of file Formulation.h.

◆ decomposition()

const Annotation< unsigned int > & idol::DantzigWolfe::Formulation::decomposition ( ) const
inline

Definition at line 66 of file Formulation.h.

◆ master() [1/2]

Model & idol::DantzigWolfe::Formulation::master ( )
inline

Definition at line 49 of file Formulation.h.

◆ master() [2/2]

const Model & idol::DantzigWolfe::Formulation::master ( ) const
inline

Definition at line 50 of file Formulation.h.

◆ n_sub_problems()

unsigned int idol::DantzigWolfe::Formulation::n_sub_problems ( ) const
inline

Definition at line 70 of file Formulation.h.

◆ present_generators()

auto idol::DantzigWolfe::Formulation::present_generators ( unsigned int  t_id) const
inline

Definition at line 55 of file Formulation.h.

◆ sub_problem() [1/2]

Model & idol::DantzigWolfe::Formulation::sub_problem ( unsigned int  t_id)
inline

Definition at line 57 of file Formulation.h.

◆ sub_problem() [2/2]

const Model & idol::DantzigWolfe::Formulation::sub_problem ( unsigned int  t_id) const
inline

Definition at line 58 of file Formulation.h.

◆ sub_problems() [1/2]

auto idol::DantzigWolfe::Formulation::sub_problems ( )
inline

Definition at line 52 of file Formulation.h.

◆ sub_problems() [2/2]

auto idol::DantzigWolfe::Formulation::sub_problems ( ) const
inline

Definition at line 53 of file Formulation.h.