Definition at line 68 of file OptimizerFactory.h.
Public Methods | |
| CRTP & | with_logs (bool t_value) |
| CRTP & | with_time_limit (double t_time_limit) |
| CRTP & | with_thread_limit (unsigned int t_max_n_threads) |
| CRTP & | with_iteration_limit (unsigned int t_iteration_count_limit) |
| CRTP & | with_best_bound_stop (double t_best_bound_stop) |
| CRTP & | with_best_obj_stop (double t_user_best_obj) |
| CRTP & | with_presolve (bool t_value) |
| CRTP & | with_infeasible_or_unbounded_info (bool t_value) |
| CRTP & | with_tol_mip_relative_gap (double t_tol_mip_relative_gap) |
| CRTP & | with_tol_mip_absolute_gap (double t_tol_mip_absolute_gap) |
| CRTP & | with_tol_integer (double t_tol_integer) |
| CRTP & | with_tol_feasibility (double t_tol_feasibility) |
| CRTP & | with_tol_optimality (double t_tol_optimality) |
| CRTP & | conditional (bool t_conditional_value, const std::function< void(CRTP &)> &t_if) |
| CRTP & | conditional (bool t_conditional_value, const std::function< void(CRTP &)> &t_if, const std::function< void(CRTP &)> &t_else) |
| virtual Optimizer * | operator() (const Model &t_model) const |
| virtual OptimizerFactory * | clone () const =0 |
| template<class T> | |
| T & | as () |
| template<class T> | |
| const T & | as () const |
| template<class T> | |
| bool | is () const |
Protected Methods | |
| CRTP & | crtp () |
| const CRTP & | crtp () const |
| virtual Optimizer * | create (const Model &t_model) const =0 |
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 |
|
inlineinherited |
Definition at line 46 of file OptimizerFactory.h.
|
inlineinherited |
Definition at line 54 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::conditional | ( | bool | t_conditional_value, |
| const std::function< void(CRTP &)> & | t_if ) |
Definition at line 102 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::conditional | ( | bool | t_conditional_value, |
| const std::function< void(CRTP &)> & | t_if, | ||
| const std::function< void(CRTP &)> & | t_else ) |
Definition at line 95 of file OptimizerFactory.h.
|
inlineprotected |
Definition at line 70 of file OptimizerFactory.h.
|
inlineprotected |
Definition at line 71 of file OptimizerFactory.h.
|
inlinenodiscardinherited |
Definition at line 62 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_best_bound_stop | ( | double | t_best_bound_stop | ) |
Definition at line 197 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_best_obj_stop | ( | double | t_user_best_obj | ) |
Definition at line 185 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_infeasible_or_unbounded_info | ( | bool | t_value | ) |
Definition at line 107 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_iteration_limit | ( | unsigned int | t_iteration_count_limit | ) |
Definition at line 209 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_logs | ( | bool | t_value | ) |
Definition at line 245 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_presolve | ( | bool | t_value | ) |
Definition at line 119 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_thread_limit | ( | unsigned int | t_max_n_threads | ) |
Definition at line 221 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_time_limit | ( | double | t_time_limit | ) |
Definition at line 233 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_tol_feasibility | ( | double | t_tol_feasibility | ) |
Definition at line 152 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_tol_integer | ( | double | t_tol_integer | ) |
Definition at line 143 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_tol_mip_absolute_gap | ( | double | t_tol_mip_absolute_gap | ) |
Definition at line 131 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_tol_mip_relative_gap | ( | double | t_tol_mip_relative_gap | ) |
Definition at line 173 of file OptimizerFactory.h.
| CRTP & idol::OptimizerFactoryWithDefaultParameters< CRTP >::with_tol_optimality | ( | double | t_tol_optimality | ) |
Definition at line 161 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 27 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 28 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 30 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 26 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 23 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 29 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 25 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 24 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 35 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 34 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 33 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 32 of file OptimizerFactory.h.
|
protectedinherited |
Definition at line 36 of file OptimizerFactory.h.