#include <SepaSetup.hpp>
Inheritance diagram for Bonmin::SepaSetup:
Public Member Functions | |
SepaSetup (const CoinMessageHandler *handler=NULL) | |
Default constructor. | |
SepaSetup (const SepaSetup &other) | |
Copy constructor. | |
SepaSetup (const SepaSetup &setup, OsiTMINLPInterface &nlp) | |
Copy but uses an other nlp. | |
SepaSetup (const SepaSetup &setup, OsiTMINLPInterface &nlp, const std::string &prefix) | |
Copy but uses another nlp and algorithm. | |
virtual BabSetupBase * | clone () const |
virtual copy constructor. | |
SepaSetup * | clone (OsiTMINLPInterface &nlp) const |
Make a copy with solver replace by one passed . | |
SepaSetup * | clone (OsiTMINLPInterface &nlp, const std::string &prefix) const |
Make a copy but take options with different prefix. | |
virtual | ~SepaSetup () |
void | initialize (Ipopt::SmartPtr< TMINLP > tminlp, bool createContinuousSolver=true) |
Initialize, read options and create appropriate bonmin setup using initialized tminlp. | |
void | initialize (const OsiTMINLPInterface &nlpSi, bool createContinuousSolver=true) |
Initialize, read options and create appropriate bonmin setup using initialized tminlp. | |
void | initialize (char **&argv) |
Ampl initialization. | |
Methods to instantiate: Registering and retrieving options and initializing everything. | |
virtual void | registerOptions () |
Register all the Bonmin options. | |
Static Public Member Functions | |
static void | registerAllOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Register all bonmin type executable options. | |
Protected Member Functions | |
void | initializeSepa () |
Initialize a branch-and-cut with some OA. |
Definition at line 18 of file SepaSetup.hpp.
Bonmin::SepaSetup::SepaSetup | ( | const CoinMessageHandler * | handler = NULL |
) |
Bonmin::SepaSetup::SepaSetup | ( | const SepaSetup & | other | ) |
Bonmin::SepaSetup::SepaSetup | ( | const SepaSetup & | setup, | |
OsiTMINLPInterface & | nlp | |||
) |
Bonmin::SepaSetup::SepaSetup | ( | const SepaSetup & | setup, | |
OsiTMINLPInterface & | nlp, | |||
const std::string & | prefix | |||
) |
Copy but uses another nlp and algorithm.
Definition at line 31 of file SepaSetup.cpp.
References Bonmin::B_OA, Bonmin::BonminSetup::getAlgorithm(), and initializeSepa().
virtual Bonmin::SepaSetup::~SepaSetup | ( | ) | [inline, virtual] |
Definition at line 51 of file SepaSetup.hpp.
virtual BabSetupBase* Bonmin::SepaSetup::clone | ( | ) | const [inline, virtual] |
virtual copy constructor.
Reimplemented from Bonmin::BonminSetup.
Definition at line 35 of file SepaSetup.hpp.
References SepaSetup().
SepaSetup* Bonmin::SepaSetup::clone | ( | OsiTMINLPInterface & | nlp | ) | const [inline, virtual] |
Make a copy with solver replace by one passed .
Reimplemented from Bonmin::BonminSetup.
Definition at line 44 of file SepaSetup.hpp.
References SepaSetup().
SepaSetup* Bonmin::SepaSetup::clone | ( | OsiTMINLPInterface & | nlp, | |
const std::string & | prefix | |||
) | const [inline] |
Make a copy but take options with different prefix.
Reimplemented from Bonmin::BonminSetup.
Definition at line 48 of file SepaSetup.hpp.
References SepaSetup().
void Bonmin::SepaSetup::registerOptions | ( | ) | [virtual] |
Register all the Bonmin options.
Reimplemented from Bonmin::BonminSetup.
Definition at line 63 of file SepaSetup.cpp.
References registerAllOptions(), and Bonmin::BabSetupBase::roptions_.
void Bonmin::SepaSetup::registerAllOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static] |
Register all bonmin type executable options.
Reimplemented from Bonmin::BonminSetup.
Definition at line 41 of file SepaSetup.cpp.
References Bonmin::BonminSetup::registerAllOptions(), Bonmin::HeuristicInnerApproximation::registerOptions(), and Bonmin::RegisteredOptions::UndocumentedCategory.
Referenced by registerOptions().
void Bonmin::SepaSetup::initialize | ( | Ipopt::SmartPtr< TMINLP > | tminlp, | |
bool | createContinuousSolver = true | |||
) |
Initialize, read options and create appropriate bonmin setup using initialized tminlp.
Reimplemented from Bonmin::BonminSetup.
Definition at line 70 of file SepaSetup.cpp.
References Bonmin::B_OA, Bonmin::BonminSetup::getAlgorithm(), Bonmin::BonminSetup::initialize(), and initializeSepa().
Referenced by initialize(), and main().
void Bonmin::SepaSetup::initialize | ( | const OsiTMINLPInterface & | nlpSi, | |
bool | createContinuousSolver = true | |||
) |
Initialize, read options and create appropriate bonmin setup using initialized tminlp.
Reimplemented from Bonmin::BonminSetup.
Definition at line 79 of file SepaSetup.cpp.
References Bonmin::B_OA, Bonmin::BonminSetup::getAlgorithm(), Bonmin::BonminSetup::initialize(), and initializeSepa().
void Bonmin::SepaSetup::initialize | ( | char **& | argv | ) | [inline] |
Ampl initialization.
Definition at line 66 of file SepaSetup.hpp.
References initialize(), Bonmin::BabSetupBase::journalist(), Bonmin::BabSetupBase::mayPrintDoc(), Bonmin::BabSetupBase::options(), Bonmin::BabSetupBase::readOptionsFile(), and Bonmin::BabSetupBase::roptions().
void Bonmin::SepaSetup::initializeSepa | ( | ) | [protected] |
Initialize a branch-and-cut with some OA.
Definition at line 86 of file SepaSetup.cpp.
References Bonmin::addOuterDescription(), Bonmin::BabSetupBase::continuousSolver(), Bonmin::BabSetupBase::heuristics_, Bonmin::BabSetupBase::nonlinearSolver(), Bonmin::BabSetupBase::options(), and Bonmin::BabSetupBase::prefix_.
Referenced by initialize(), and SepaSetup().