Loading...
Searching...
No Matches
idol::Robust::BilevelBasedBranchAndBound Class Reference

Description

Definition at line 16 of file BilevelBasedBranchAndBound.h.

Public Methods

 BilevelBasedBranchAndBound (const Robust::Description &t_robust_description, const Bilevel::Description &t_bilevel_description)
 BilevelBasedBranchAndBound (const BilevelBasedBranchAndBound &t_src)
OptimizerFactoryclone () const override
BilevelBasedBranchAndBound & with_optimality_bilevel_optimizer (const OptimizerFactory &t_factory)
BilevelBasedBranchAndBound & with_feasibility_bilevel_optimizer (const OptimizerFactory &t_factory)
BilevelBasedBranchAndBound & with_first_stage_relaxation (bool t_value)
BilevelBasedBranchAndBound & with_logs (bool t_value)
BilevelBasedBranchAndBound & with_time_limit (double t_time_limit)
BilevelBasedBranchAndBound & with_thread_limit (unsigned int t_max_n_threads)
BilevelBasedBranchAndBound & with_iteration_limit (unsigned int t_iteration_count_limit)
BilevelBasedBranchAndBound & with_best_bound_stop (double t_best_bound_stop)
BilevelBasedBranchAndBound & with_best_obj_stop (double t_user_best_obj)
BilevelBasedBranchAndBound & with_presolve (bool t_value)
BilevelBasedBranchAndBound & with_infeasible_or_unbounded_info (bool t_value)
BilevelBasedBranchAndBound & with_tol_mip_relative_gap (double t_tol_mip_relative_gap)
BilevelBasedBranchAndBound & with_tol_mip_absolute_gap (double t_tol_mip_absolute_gap)
BilevelBasedBranchAndBound & with_tol_integer (double t_tol_integer)
BilevelBasedBranchAndBound & with_tol_feasibility (double t_tol_feasibility)
BilevelBasedBranchAndBound & with_tol_optimality (double t_tol_optimality)
BilevelBasedBranchAndBound & conditional (bool t_conditional_value, const std::function< void(BilevelBasedBranchAndBound &)> &t_if)
virtual Optimizeroperator() (const Model &t_model) const
template<class T>
T & as ()
template<class T>
const T & as () const
template<class T>
bool is () const

Protected Methods

Optimizercreate (const Model &t_model) const override
BilevelBasedBranchAndBound & crtp ()

Protected Attributes

std::optional< bool > m_logs
std::optional< double > m_time_limit
std::optional< unsigned int > m_thread_limit
std::optional< unsigned int > m_iteration_count_limit
std::optional< double > m_best_bound_stop
std::optional< double > m_best_obj_stop
std::optional< bool > m_presolve
std::optional< bool > m_infeasible_or_unbounded_info
std::optional< double > m_tol_mip_relative_gap
std::optional< double > m_tol_mip_absolute_gap
std::optional< double > m_tol_integer
std::optional< double > m_tol_feasibility
std::optional< double > m_tol_optimality

Methods Documentation

◆ as() [1/2]

template<class T>
T & idol::OptimizerFactory::as ( )
inlineinherited

Definition at line 46 of file OptimizerFactory.h.

◆ as() [2/2]

template<class T>
const T & idol::OptimizerFactory::as ( ) const
inlineinherited

Definition at line 54 of file OptimizerFactory.h.

◆ clone()

OptimizerFactory * idol::Robust::BilevelBasedBranchAndBound::clone ( ) const
inlinenodiscardoverridevirtual

Implements idol::OptimizerFactory.

Definition at line 31 of file BilevelBasedBranchAndBound.h.

◆ conditional()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::conditional ( bool t_conditional_value,
const std::function< void(BilevelBasedBranchAndBound &)> & t_if )
inherited

Definition at line 88 of file OptimizerFactory.h.

◆ create()

Optimizer * idol::Robust::BilevelBasedBranchAndBound::create ( const Model & t_model) const
nodiscardoverrideprotectedvirtual

◆ crtp()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::crtp ( )
inlineprotectedinherited

Definition at line 70 of file OptimizerFactory.h.

◆ is()

template<class T>
bool idol::OptimizerFactory::is ( ) const
inlinenodiscardinherited

Definition at line 62 of file OptimizerFactory.h.

◆ with_best_bound_stop()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_best_bound_stop ( double t_best_bound_stop)
inherited

Definition at line 77 of file OptimizerFactory.h.

◆ with_best_obj_stop()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_best_obj_stop ( double t_user_best_obj)
inherited

Definition at line 78 of file OptimizerFactory.h.

◆ with_infeasible_or_unbounded_info()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_infeasible_or_unbounded_info ( bool t_value)
inherited

Definition at line 80 of file OptimizerFactory.h.

◆ with_iteration_limit()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_iteration_limit ( unsigned int t_iteration_count_limit)
inherited

Definition at line 76 of file OptimizerFactory.h.

◆ with_logs()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_logs ( bool t_value)
inherited

Definition at line 73 of file OptimizerFactory.h.

◆ with_presolve()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_presolve ( bool t_value)
inherited

Definition at line 79 of file OptimizerFactory.h.

◆ with_thread_limit()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_thread_limit ( unsigned int t_max_n_threads)
inherited

Definition at line 75 of file OptimizerFactory.h.

◆ with_time_limit()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_time_limit ( double t_time_limit)
inherited

Definition at line 74 of file OptimizerFactory.h.

◆ with_tol_feasibility()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_tol_feasibility ( double t_tol_feasibility)
inherited

Definition at line 85 of file OptimizerFactory.h.

◆ with_tol_integer()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_tol_integer ( double t_tol_integer)
inherited

Definition at line 84 of file OptimizerFactory.h.

◆ with_tol_mip_absolute_gap()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_tol_mip_absolute_gap ( double t_tol_mip_absolute_gap)
inherited

Definition at line 83 of file OptimizerFactory.h.

◆ with_tol_mip_relative_gap()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_tol_mip_relative_gap ( double t_tol_mip_relative_gap)
inherited

Definition at line 82 of file OptimizerFactory.h.

◆ with_tol_optimality()

BilevelBasedBranchAndBound & idol::OptimizerFactoryWithDefaultParameters< BilevelBasedBranchAndBound >::with_tol_optimality ( double t_tol_optimality)
inherited

Definition at line 86 of file OptimizerFactory.h.

Member Data Documentation

◆ m_best_bound_stop

std::optional<double> idol::OptimizerFactory::m_best_bound_stop
protectedinherited

Definition at line 27 of file OptimizerFactory.h.

◆ m_best_obj_stop

std::optional<double> idol::OptimizerFactory::m_best_obj_stop
protectedinherited

Definition at line 28 of file OptimizerFactory.h.

◆ m_infeasible_or_unbounded_info

std::optional<bool> idol::OptimizerFactory::m_infeasible_or_unbounded_info
protectedinherited

Definition at line 30 of file OptimizerFactory.h.

◆ m_iteration_count_limit

std::optional<unsigned int> idol::OptimizerFactory::m_iteration_count_limit
protectedinherited

Definition at line 26 of file OptimizerFactory.h.

◆ m_logs

std::optional<bool> idol::OptimizerFactory::m_logs
protectedinherited

Definition at line 23 of file OptimizerFactory.h.

◆ m_presolve

std::optional<bool> idol::OptimizerFactory::m_presolve
protectedinherited

Definition at line 29 of file OptimizerFactory.h.

◆ m_thread_limit

std::optional<unsigned int> idol::OptimizerFactory::m_thread_limit
protectedinherited

Definition at line 25 of file OptimizerFactory.h.

◆ m_time_limit

std::optional<double> idol::OptimizerFactory::m_time_limit
protectedinherited

Definition at line 24 of file OptimizerFactory.h.

◆ m_tol_feasibility

std::optional<double> idol::OptimizerFactory::m_tol_feasibility
protectedinherited

Definition at line 35 of file OptimizerFactory.h.

◆ m_tol_integer

std::optional<double> idol::OptimizerFactory::m_tol_integer
protectedinherited

Definition at line 34 of file OptimizerFactory.h.

◆ m_tol_mip_absolute_gap

std::optional<double> idol::OptimizerFactory::m_tol_mip_absolute_gap
protectedinherited

Definition at line 33 of file OptimizerFactory.h.

◆ m_tol_mip_relative_gap

std::optional<double> idol::OptimizerFactory::m_tol_mip_relative_gap
protectedinherited

Definition at line 32 of file OptimizerFactory.h.

◆ m_tol_optimality

std::optional<double> idol::OptimizerFactory::m_tol_optimality
protectedinherited

Definition at line 36 of file OptimizerFactory.h.