algorithm setup. More...
#include <RobotSetup.hpp>


Public Member Functions | |
| RobotSetup (const CoinMessageHandler *handler=NULL) | |
| Default constructor. More... | |
| RobotSetup (const RobotSetup &other) | |
| Copy constructor. More... | |
| RobotSetup (const RobotSetup &setup, OsiTMINLPInterface &nlp) | |
| Copy but uses an other nlp. More... | |
| RobotSetup (const RobotSetup &setup, OsiTMINLPInterface &nlp, const std::string &prefix) | |
| Copy but uses another nlp and algorithm. More... | |
| virtual BonminSetup * | clone () const |
| virtual copy constructor. More... | |
| RobotSetup * | clone (OsiTMINLPInterface &nlp) const |
| Make a copy with solver replace by one passed . More... | |
| RobotSetup * | clone (OsiTMINLPInterface &nlp, const std::string &prefix) const |
| Make a copy but take options with different prefix. More... | |
| virtual | ~RobotSetup () |
| void | initialize (Ipopt::SmartPtr< TMINLP > tminlp, bool createContinuousSolver=true) |
| Initialize, read options and create appropriate bonmin setup. More... | |
| void | initialize (const OsiTMINLPInterface &nlpSi, bool createContinuousSolver=true) |
| Initialize, read options and create appropriate bonmin setup. More... | |
| void | initialize (char **&argv) |
| Ampl initialization. More... | |
Methods to instantiate: Registering and retrieving options and initializing everything. | |
| virtual void | registerOptions () |
| Register all the options for this algorithm instance. More... | |
Public Member Functions inherited from Bonmin::BonminSetup | |
| BonminSetup (const CoinMessageHandler *handler=NULL) | |
| Default constructor. More... | |
| BonminSetup (const BonminSetup &other) | |
| Copy constructor. More... | |
| BonminSetup (const BonminSetup &setup, OsiTMINLPInterface &nlp) | |
| Copy but uses an other nlp. More... | |
| BonminSetup (const BonminSetup &setup, OsiTMINLPInterface &nlp, const std::string &prefix) | |
| Copy but uses another nlp and algorithm. More... | |
| BonminSetup * | clone (OsiTMINLPInterface &nlp) const |
| Make a copy with solver replace by one passed . More... | |
| BonminSetup * | clone (OsiTMINLPInterface &nlp, const std::string &prefix) const |
| Make a copy but take options with different prefix. More... | |
| virtual | ~BonminSetup () |
| void | initialize (Ipopt::SmartPtr< TMINLP > tminlp, bool createContinuousSolver=true) |
| Initialize, read options and create appropriate bonmin setup. More... | |
| void | initialize (const OsiTMINLPInterface &nlpSi, bool createContinuousSolver=true) |
| Initialize, read options and create appropriate bonmin setup. More... | |
| Bonmin::Algorithm | getAlgorithm () |
| Get the algorithm used. More... | |
| void | addCutGenerator (CuttingMethod &cg) |
| virtual void | setBabDefaultOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
| Setup the defaults options for this algorithm. More... | |
Public Member Functions inherited from Bonmin::BabSetupBase | |
| void | gatherParametersValues () |
| Get the values of base parameters from the options stored. More... | |
| void | gatherParametersValues (Ipopt::SmartPtr< Ipopt::OptionsList > options) |
| Get the values of the base parameters from the passed options. More... | |
| Ipopt::SmartPtr < Ipopt::Journalist > | journalist () |
| Acces storage of Journalist for output. More... | |
| Ipopt::SmartPtr < Ipopt::OptionsList > | options () |
| Acces list of Options. More... | |
| Ipopt::SmartPtr < Bonmin::RegisteredOptions > | roptions () |
| Access registered Options. More... | |
| const vector< OsiObject * > & | objects () const |
| Access to extra objects. More... | |
| vector< OsiObject * > & | objects () |
| Access to extra objects. More... | |
| void | addCutGenerator (CuttingMethod &cg) |
| void | set_linearizer (TMINLP2OsiLP *linearizer) |
| void | use (const OsiTMINLPInterface &nlp) |
| use existing TMINLP interface (containing the options). More... | |
| void | use (Ipopt::SmartPtr< TMINLP > tminlp) |
| Read options (if not done before) and create interface using tminlp. More... | |
| void | use (Ipopt::SmartPtr< TMINLP2TNLP > prob) |
| use specific instanciation of a TMINLP2TNLP. More... | |
| void | setNonlinearSolver (OsiTMINLPInterface *s) |
| Set the non-linear solver used. More... | |
| OsiTMINLPInterface * | nonlinearSolver () |
| Pointer to the non-linear solver used. More... | |
| OsiSolverInterface * | continuousSolver () |
| Pointer to the continuous solver to use for relaxations. More... | |
| CuttingMethods & | cutGenerators () |
| list of cutting planes methods to apply with their frequencies. More... | |
| HeuristicMethods & | heuristics () |
| list of Heuristic methods to use. More... | |
| OsiChooseVariable * | branchingMethod () |
| branching method to use. More... | |
| NodeComparison & | nodeComparisonMethod () |
| Method used to compare nodes. More... | |
| TreeTraversal | treeTraversalMethod () |
| Method used to traverse tree. More... | |
| int | getIntParameter (const IntParameter &p) const |
| Return value of integer parameter. More... | |
| double | getDoubleParameter (const DoubleParameter &p) const |
| Return value of double parameter. More... | |
| void | setIntParameter (const IntParameter &p, const int v) |
| Return value of integer parameter. More... | |
| void | setDoubleParameter (const DoubleParameter &p, const double v) |
| Return value of double parameter. More... | |
| BabSetupBase (const CoinMessageHandler *handler=NULL) | |
| Default constructor. More... | |
| BabSetupBase (Ipopt::SmartPtr< TMINLP > tminlp, const CoinMessageHandler *handler=NULL) | |
| Construct from existing tminlp. More... | |
| BabSetupBase (Ipopt::SmartPtr< TNLPSolver > app) | |
| Construct from existing application. More... | |
| BabSetupBase (const OsiTMINLPInterface &nlp) | |
| Construct from existing TMINLP interface. More... | |
| BabSetupBase (const BabSetupBase &setup, OsiTMINLPInterface &nlp) | |
| Copy but uses an other nlp. More... | |
| BabSetupBase (const BabSetupBase &setup, OsiTMINLPInterface &nlp, const std::string &prefix) | |
| Copy but uses an other nlp. More... | |
| BabSetupBase (const BabSetupBase &other) | |
| Copy constructor. More... | |
| virtual | ~BabSetupBase () |
| Virtual destructor. More... | |
| virtual void | readOptionsFile () |
| Get the options from default text file (bonmin.opt) if don't already have them. More... | |
| void | readOptionsFile (std::string fileName) |
| Get the options from given fileName. More... | |
| void | readOptionsString (std::string opt_string) |
| Get the options from long string containing all. More... | |
| void | readOptionsStream (std::istream &is) |
| Get the options from stream. More... | |
| void | mayPrintDoc () |
| May print documentation of options if options print_options_documentation is set to yes. More... | |
| const char * | prefix () const |
| Get prefix to use for options. More... | |
| void | setOptionsAndJournalist (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions, Ipopt::SmartPtr< Ipopt::OptionsList > options, Ipopt::SmartPtr< Ipopt::Journalist > journalist) |
| Set the value for options, output... More... | |
| void | initializeOptionsAndJournalist () |
| Initialize the options and the journalist. More... | |
Static Public Member Functions | |
| static void | registerAllOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
| Register all bonmin type executable options. More... | |
Static Public Member Functions inherited from Bonmin::BonminSetup | |
| static void | registerAllOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
| Register all bonmin type executable options. More... | |
Static Public Member Functions inherited from Bonmin::BabSetupBase | |
| static void | registerAllOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
| Register all the options for this algorithm instance. More... | |
Protected Member Functions | |
| void | addNWays () |
| Add nway objects. More... | |
| void | initializeRobot () |
| Initialize a branch-and-with robot nway. More... | |
Protected Member Functions inherited from Bonmin::BonminSetup | |
| void | addMilpCutGenerators () |
| Add milp cut generators according to options. More... | |
| void | initializeBBB () |
| Initialize a plain branch-and-bound. More... | |
| void | initializeBHyb (bool createContinuousSolver=false) |
| Initialize a branch-and-cut with some OA. More... | |
Protected Member Functions inherited from Bonmin::BabSetupBase | |
| void | setPriorities () |
| Set the priorities into OsiTMINLPInterface when needed. More... | |
| void | addSos () |
| Add SOS constraints to OsiTMINLPInterface when needed. More... | |
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.
|
inlinevirtual |
Definition at line 51 of file RobotSetup.hpp.
|
inlinevirtual |
virtual copy constructor.
Reimplemented from Bonmin::BonminSetup.
Definition at line 35 of file RobotSetup.hpp.
|
inlinevirtual |
Make a copy with solver replace by one passed .
Make a copy with solver replace by one passed .
Reimplemented from Bonmin::BabSetupBase.
Definition at line 44 of file RobotSetup.hpp.
|
inline |
Make a copy but take options with different prefix.
Definition at line 48 of file RobotSetup.hpp.
|
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.
|
static |
Register all bonmin type executable options.
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.
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.
Definition at line 79 of file RobotSetup.cpp.
|
inline |
Ampl initialization.
Definition at line 66 of file RobotSetup.hpp.
|
protected |
Add nway objects.
Definition at line 105 of file RobotSetup.cpp.
|
protected |
Initialize a branch-and-with robot nway.
Definition at line 85 of file RobotSetup.cpp.
1.8.5