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

Public Member Functions

 Description (Env &t_env, const std::string &t_name)
 
 Description (Env &t_env)
 
 Description (const Annotation< unsigned int > &t_lower_level)
 
 Description (const Annotation< unsigned int > &t_lower_level, AffExpr< Var > t_follower_objective)
 
const Annotation< unsigned int > & lower_level () const
 
const QuadExpr< Var > & lower_level_obj () const
 
void make_upper_level (const Var &t_var)
 
void make_upper_level (const Ctr &t_ctr)
 
void make_upper_level (const QCtr &t_ctr)
 
void make_lower_level (const Var &t_var)
 
template<unsigned int N>
void make_lower_level (const Vector< Var, N > &t_vars)
 
void make_lower_level (const Ctr &t_ctr)
 
void make_lower_level (const QCtr &t_ctr)
 
void set_lower_level_obj (QuadExpr< Var > t_objective)
 
bool is_upper (const Var &t_var) const
 
bool is_upper (const Ctr &t_ctr) const
 
bool is_upper (const QCtr &t_ctr) const
 
bool is_lower (const Var &t_var) const
 
bool is_lower (const Ctr &t_ctr) const
 
bool is_lower (const QCtr &t_ctr) const
 

Detailed Description

Definition at line 19 of file Description.h.

Constructor & Destructor Documentation

◆ Description() [1/4]

idol::Bilevel::Description::Description ( Env t_env,
const std::string &  t_name 
)
inline

Definition at line 37 of file Description.h.

◆ Description() [2/4]

idol::Bilevel::Description::Description ( Env t_env)
inlineexplicit

Definition at line 39 of file Description.h.

◆ Description() [3/4]

idol::Bilevel::Description::Description ( const Annotation< unsigned int > &  t_lower_level)
inlineexplicit

Definition at line 41 of file Description.h.

◆ Description() [4/4]

idol::Bilevel::Description::Description ( const Annotation< unsigned int > &  t_lower_level,
AffExpr< Var t_follower_objective 
)
inline

Definition at line 43 of file Description.h.

Member Function Documentation

◆ is_lower() [1/3]

bool idol::Bilevel::Description::is_lower ( const Ctr t_ctr) const
inline

Definition at line 76 of file Description.h.

◆ is_lower() [2/3]

bool idol::Bilevel::Description::is_lower ( const QCtr t_ctr) const
inline

Definition at line 78 of file Description.h.

◆ is_lower() [3/3]

bool idol::Bilevel::Description::is_lower ( const Var t_var) const
inline

Definition at line 74 of file Description.h.

◆ is_upper() [1/3]

bool idol::Bilevel::Description::is_upper ( const Ctr t_ctr) const
inline

Definition at line 70 of file Description.h.

◆ is_upper() [2/3]

bool idol::Bilevel::Description::is_upper ( const QCtr t_ctr) const
inline

Definition at line 72 of file Description.h.

◆ is_upper() [3/3]

bool idol::Bilevel::Description::is_upper ( const Var t_var) const
inline

Definition at line 68 of file Description.h.

◆ lower_level()

const Annotation< unsigned int > & idol::Bilevel::Description::lower_level ( ) const
inline

Definition at line 48 of file Description.h.

◆ lower_level_obj()

const QuadExpr< Var > & idol::Bilevel::Description::lower_level_obj ( ) const
inline

Definition at line 50 of file Description.h.

◆ make_lower_level() [1/4]

void idol::Bilevel::Description::make_lower_level ( const Ctr t_ctr)
inline

Definition at line 62 of file Description.h.

◆ make_lower_level() [2/4]

void idol::Bilevel::Description::make_lower_level ( const QCtr t_ctr)
inline

Definition at line 64 of file Description.h.

◆ make_lower_level() [3/4]

void idol::Bilevel::Description::make_lower_level ( const Var t_var)
inline

Definition at line 58 of file Description.h.

◆ make_lower_level() [4/4]

template<unsigned int N>
void idol::Bilevel::Description::make_lower_level ( const Vector< Var, N > &  t_vars)
inline

Definition at line 60 of file Description.h.

◆ make_upper_level() [1/3]

void idol::Bilevel::Description::make_upper_level ( const Ctr t_ctr)
inline

Definition at line 54 of file Description.h.

◆ make_upper_level() [2/3]

void idol::Bilevel::Description::make_upper_level ( const QCtr t_ctr)
inline

Definition at line 56 of file Description.h.

◆ make_upper_level() [3/3]

void idol::Bilevel::Description::make_upper_level ( const Var t_var)
inline

Definition at line 52 of file Description.h.

◆ set_lower_level_obj()

void idol::Bilevel::Description::set_lower_level_obj ( QuadExpr< Var t_objective)
inline

Definition at line 66 of file Description.h.