algorithm setup. More...
#include <RobotSetup.hpp>
Public Member Functions | |
RobotSetup (const CoinMessageHandler *handler=NULL) | |
Default constructor. | |
RobotSetup (const RobotSetup &other) | |
Copy constructor. | |
RobotSetup (const RobotSetup &setup, OsiTMINLPInterface &nlp) | |
Copy but uses an other nlp. | |
RobotSetup (const RobotSetup &setup, OsiTMINLPInterface &nlp, const std::string &prefix) | |
Copy but uses another nlp and algorithm. | |
virtual BonminSetup * | clone () const |
virtual copy constructor. | |
RobotSetup * | clone (OsiTMINLPInterface &nlp) const |
RobotSetup * | clone (OsiTMINLPInterface &nlp, const std::string &prefix) const |
Make a copy but take options with different prefix. | |
virtual | ~RobotSetup () |
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. | |
void | initialize (char **&argv) |
Ampl initialization. | |
Methods to instantiate: Registering and retrieving options and initializing everything. | |
virtual void | registerOptions () |
Register all the options for this algorithm instance. | |
Static Public Member Functions | |
static void | registerAllOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Register all bonmin type executable options. | |
Protected Member Functions | |
void | addNWays () |
Add nway objects. | |
void | initializeRobot () |
Initialize a branch-and-with robot nway. |
algorithm setup.
Definition at line 18 of file RobotSetup.hpp.
Bonmin::RobotSetup::RobotSetup | ( | const CoinMessageHandler * | handler = NULL |
) |
Default constructor.
Definition at line 23 of file RobotSetup.cpp.
Bonmin::RobotSetup::RobotSetup | ( | const RobotSetup & | other | ) |
Copy constructor.
Definition at line 26 of file RobotSetup.cpp.
Bonmin::RobotSetup::RobotSetup | ( | const RobotSetup & | setup, | |
OsiTMINLPInterface & | nlp | |||
) |
Copy but uses an other nlp.
Definition at line 29 of file RobotSetup.cpp.
Bonmin::RobotSetup::RobotSetup | ( | const RobotSetup & | setup, | |
OsiTMINLPInterface & | nlp, | |||
const std::string & | prefix | |||
) |
Copy but uses another nlp and algorithm.
Definition at line 35 of file RobotSetup.cpp.
virtual Bonmin::RobotSetup::~RobotSetup | ( | ) | [inline, virtual] |
Definition at line 51 of file RobotSetup.hpp.
virtual BonminSetup* Bonmin::RobotSetup::clone | ( | ) | const [inline, virtual] |
virtual copy constructor.
Reimplemented from Bonmin::BonminSetup.
Definition at line 35 of file RobotSetup.hpp.
RobotSetup* Bonmin::RobotSetup::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 RobotSetup.hpp.
RobotSetup* Bonmin::RobotSetup::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 RobotSetup.hpp.
void Bonmin::RobotSetup::registerOptions | ( | ) | [virtual] |
Register all the options for this algorithm instance.
Register all the Bonmin options.
Reimplemented from Bonmin::BonminSetup.
Definition at line 64 of file RobotSetup.cpp.
void Bonmin::RobotSetup::registerAllOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static] |
Register all bonmin type executable options.
Reimplemented from Bonmin::BonminSetup.
Definition at line 43 of file RobotSetup.cpp.
void Bonmin::RobotSetup::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 from Bonmin::BonminSetup.
Definition at line 71 of file RobotSetup.cpp.
void Bonmin::RobotSetup::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 from Bonmin::BonminSetup.
Definition at line 79 of file RobotSetup.cpp.
void Bonmin::RobotSetup::initialize | ( | char **& | argv | ) | [inline] |
Ampl initialization.
Definition at line 66 of file RobotSetup.hpp.
void Bonmin::RobotSetup::addNWays | ( | ) | [protected] |
Add nway objects.
Definition at line 105 of file RobotSetup.cpp.
void Bonmin::RobotSetup::initializeRobot | ( | ) | [protected] |
Initialize a branch-and-with robot nway.
Definition at line 85 of file RobotSetup.cpp.