10 #ifndef BonOaNlpOptim_HPP 11 #define BonOaNlpOptim_HPP 24 int maxDepth = 10,
bool addOnlyViolated =
false,
25 bool globalCuts =
true);
34 maxDepth_(copy.maxDepth_),
36 addOnlyViolated_(copy.addOnlyViolated_),
37 global_(copy.global_),
38 solves_per_level_(copy.solves_per_level_)
47 handler_ = handler->
clone();
76 addOnlyViolated_ = yesno;
109 bool addOnlyViolated_;
113 double solves_per_level_;
Generate cuts for the nlp corresponding to continuous relaxation at a node.
OaNlpOptim(const OaNlpOptim ©)
Copy constructor.
void passInMessageHandler(const CoinMessageHandler *handler)
virtual ~OaNlpOptim()
Desctructor.
void setAddOnlyViolated(bool yesno)
(C) Copyright International Business Machines Corporation 2007
void setGlobalCuts(bool yesno)
virtual CglCutGenerator * clone() const
Abstract constructor.
static void registerOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Register OaNlpOptim options.
OaNlpOptim(OsiTMINLPInterface *si=NULL, int maxDepth=10, bool addOnlyViolated=false, bool globalCuts=true)
Default constructor.
This is class provides an Osi interface for a Mixed Integer Linear Program expressed as a TMINLP (so ...
A class to have all elements necessary to setup a branch-and-bound.
virtual CoinMessageHandler * clone() const
void setMaxDepth(int value)
Output messages for Outer approximation cutting planes.
void assignInterface(OsiTMINLPInterface *si)
Assign an OsiTMINLPInterface.
void setLogLevel(int value)
set log level
void setLogLevel(int value)
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info)
cut generation method