40 const std::string &
prefix);
A class to have all elements necessary to setup a branch-and-bound.
void addCutGenerator(CuttingMethod &cg)
const char * prefix() const
Get prefix to use for options.
Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions()
Access registered Options.
void addMilpCutGenerators()
Add milp cut generators according to options.
virtual BabSetupBase * clone() const
virtual copy constructor.
Bonmin::Algorithm getAlgorithm()
Get the algorithm used.
void initializeBHyb(bool createContinuousSolver=false)
Initialize a branch-and-cut with some OA.
void initialize(Ipopt::SmartPtr< TMINLP > tminlp, bool createContinuousSolver=true)
Initialize, read options and create appropriate bonmin setup.
void addCutGenerator(CuttingMethod &cg)
BonminSetup * clone(OsiTMINLPInterface &nlp) const
Make a copy with solver replace by one passed .
BonminSetup(const CoinMessageHandler *handler=NULL)
Default constructor.
static void registerAllOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Register all bonmin type executable options.
virtual void setBabDefaultOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Setup the defaults options for this algorithm.
virtual void registerOptions()
Register all the options for this algorithm instance.
void initializeBBB()
Initialize a plain branch-and-bound.
void initialize(const OsiTMINLPInterface &nlpSi, bool createContinuousSolver=true)
Initialize, read options and create appropriate bonmin setup.
BonminSetup(const BonminSetup &setup, OsiTMINLPInterface &nlp)
Copy but uses an other nlp.
BonminSetup(const BonminSetup &other)
Copy constructor.
BonminSetup(const BonminSetup &setup, OsiTMINLPInterface &nlp, const std::string &prefix)
Copy but uses another nlp and algorithm.
static void registerMilpCutGenerators(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Register standard MILP cut generators.
BonminSetup * clone(OsiTMINLPInterface &nlp, const std::string &prefix) const
Make a copy but take options with different prefix.
This is class provides an Osi interface for a Mixed Integer Linear Program expressed as a TMINLP (so ...
(C) Copyright International Business Machines Corporation 2007
Algorithm
Type of algorithms which can be used.
Type for cut generation method with its frequency and string identification.