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