#include <BonBonminSetup.hpp>


Public Member Functions | |
| BonminSetup (const CoinMessageHandler *handler=NULL) | |
| Default constructor. | |
| BonminSetup (const BonminSetup &other) | |
| Copy constructor. | |
| BonminSetup (const BonminSetup &setup, OsiTMINLPInterface &nlp) | |
| Copy but uses an other nlp. | |
| BonminSetup (const BonminSetup &setup, OsiTMINLPInterface &nlp, const std::string &prefix) | |
| Copy but uses another nlp and algorithm. | |
| virtual BabSetupBase * | clone () const |
| virtual copy constructor. | |
| BonminSetup * | clone (OsiTMINLPInterface &nlp) const |
| BonminSetup * | clone (OsiTMINLPInterface &nlp, const std::string &prefix) const |
| Make a copy but take options with different prefix. | |
| virtual | ~BonminSetup () |
| void | initialize (Ipopt::SmartPtr< TMINLP > tminlp, bool createContinuousSolver=true) |
| Initialize, read options and create appropriate bonmin setup. | |
| void | initialize (const OsiTMINLPInterface &nlpSi, bool createContinuousSolver=true) |
| Initialize, read options and create appropriate bonmin setup. | |
| Bonmin::Algorithm | getAlgorithm () |
| Get the algorithm used. | |
| void | addCutGenerator (CuttingMethod &cg) |
Methods to instantiate: Registering and retrieving options and initializing everything. | |
| virtual void | registerOptions () |
| Register all the options for this algorithm instance. | |
| virtual void | setBabDefaultOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
| Setup the defaults options for this algorithm. | |
Static Public Member Functions | |
| static void | registerAllOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
| Register all bonmin type executable options. | |
Protected Member Functions | |
| void | addMilpCutGenerators () |
| Add milp cut generators according to options. | |
| void | initializeBBB () |
| Initialize a plain branch-and-bound. | |
| void | initializeBHyb (bool createContinuousSolver=false) |
| Initialize a branch-and-cut with some OA. | |
Static Protected Member Functions | |
| static void | registerMilpCutGenerators (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
| Register standard MILP cut generators. | |
Private Attributes | |
| Algorithm | algo_ |
Definition at line 25 of file BonBonminSetup.hpp.
| Bonmin::BonminSetup::BonminSetup | ( | const CoinMessageHandler * | handler = NULL |
) |
Default constructor.
Definition at line 64 of file BonBonminSetup.cpp.
| Bonmin::BonminSetup::BonminSetup | ( | const BonminSetup & | other | ) |
Copy constructor.
Definition at line 67 of file BonBonminSetup.cpp.
| Bonmin::BonminSetup::BonminSetup | ( | const BonminSetup & | setup, | |
| OsiTMINLPInterface & | nlp | |||
| ) |
Copy but uses an other nlp.
Definition at line 71 of file BonBonminSetup.cpp.
| Bonmin::BonminSetup::BonminSetup | ( | const BonminSetup & | setup, | |
| OsiTMINLPInterface & | nlp, | |||
| const std::string & | prefix | |||
| ) |
Copy but uses another nlp and algorithm.
Definition at line 92 of file BonBonminSetup.cpp.
| virtual Bonmin::BonminSetup::~BonminSetup | ( | ) | [inline, virtual] |
Definition at line 58 of file BonBonminSetup.hpp.
| virtual BabSetupBase* Bonmin::BonminSetup::clone | ( | ) | const [inline, virtual] |
virtual copy constructor.
Implements Bonmin::BabSetupBase.
Reimplemented in Bonmin::SepaSetup, and Couenne::CouenneSetup.
Definition at line 42 of file BonBonminSetup.hpp.
| BonminSetup* Bonmin::BonminSetup::clone | ( | OsiTMINLPInterface & | nlp | ) | const [inline, virtual] |
Make a copy with solver replace by one passed .
Reimplemented from Bonmin::BabSetupBase.
Reimplemented in Bonmin::SepaSetup.
Definition at line 51 of file BonBonminSetup.hpp.
| BonminSetup* Bonmin::BonminSetup::clone | ( | OsiTMINLPInterface & | nlp, | |
| const std::string & | prefix | |||
| ) | const [inline] |
Make a copy but take options with different prefix.
Reimplemented in Bonmin::SepaSetup.
Definition at line 55 of file BonBonminSetup.hpp.
| void Bonmin::BonminSetup::registerOptions | ( | ) | [virtual] |
Register all the options for this algorithm instance.
Register all the Bonmin options.
Reimplemented from Bonmin::BabSetupBase.
Reimplemented in Bonmin::SepaSetup, and Couenne::CouenneSetup.
Definition at line 156 of file BonBonminSetup.cpp.
| virtual void Bonmin::BonminSetup::setBabDefaultOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [inline, virtual] |
Setup the defaults options for this algorithm.
Reimplemented from Bonmin::BabSetupBase.
Definition at line 65 of file BonBonminSetup.hpp.
| void Bonmin::BonminSetup::registerAllOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static] |
Register all bonmin type executable options.
Heursitics.
Reimplemented from Bonmin::BabSetupBase.
Reimplemented in Bonmin::SepaSetup.
Definition at line 104 of file BonBonminSetup.cpp.
| void Bonmin::BonminSetup::initialize | ( | Ipopt::SmartPtr< TMINLP > | tminlp, | |
| bool | createContinuousSolver = true | |||
| ) |
Initialize, read options and create appropriate bonmin setup.
Initialize, read options and create appropriate bonmin setup using initialized tminlp.
Reimplemented in Bonmin::SepaSetup.
Definition at line 163 of file BonBonminSetup.cpp.
| void Bonmin::BonminSetup::initialize | ( | const OsiTMINLPInterface & | nlpSi, | |
| bool | createContinuousSolver = true | |||
| ) |
Initialize, read options and create appropriate bonmin setup.
Initialize, read options and create appropriate bonmin setup using initialized tminlp.
Reimplemented in Bonmin::SepaSetup.
Definition at line 177 of file BonBonminSetup.cpp.
| Algorithm Bonmin::BonminSetup::getAlgorithm | ( | ) |
Get the algorithm used.
Definition at line 881 of file BonBonminSetup.cpp.
| void Bonmin::BonminSetup::addCutGenerator | ( | CuttingMethod & | cg | ) | [inline] |
Reimplemented from Bonmin::BabSetupBase.
Definition at line 77 of file BonBonminSetup.hpp.
| void Bonmin::BonminSetup::registerMilpCutGenerators | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static, protected] |
Register standard MILP cut generators.
Definition at line 190 of file BonBonminSetup.cpp.
| void Bonmin::BonminSetup::addMilpCutGenerators | ( | ) | [protected] |
Add milp cut generators according to options.
Reimplemented in Couenne::CouenneSetup.
Definition at line 269 of file BonBonminSetup.cpp.
| void Bonmin::BonminSetup::initializeBBB | ( | ) | [protected] |
Initialize a plain branch-and-bound.
Definition at line 398 of file BonBonminSetup.cpp.
| void Bonmin::BonminSetup::initializeBHyb | ( | bool | createContinuousSolver = false |
) | [protected] |
Initialize a branch-and-cut with some OA.
Definition at line 619 of file BonBonminSetup.cpp.
Algorithm Bonmin::BonminSetup::algo_ [private] |
Definition at line 90 of file BonBonminSetup.hpp.
1.6.1