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_;
A class to have all elements necessary to setup a branch-and-bound.
Output messages for Outer approximation cutting planes.
Generate cuts for the nlp corresponding to continuous relaxation at a node.
OaNlpOptim(BabSetupBase &b)
Constructor with basic setup.
void setLogLevel(int value)
set log level
void passInMessageHandler(const CoinMessageHandler *handler)
OaNlpOptim(OsiTMINLPInterface *si=NULL, int maxDepth=10, bool addOnlyViolated=false, bool globalCuts=true)
Default constructor.
virtual ~OaNlpOptim()
Desctructor.
void setAddOnlyViolated(bool yesno)
void assignInterface(OsiTMINLPInterface *si)
Assign an OsiTMINLPInterface.
static void registerOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Register OaNlpOptim options.
void setGlobalCuts(bool yesno)
void setMaxDepth(int value)
OaNlpOptim(const OaNlpOptim ©)
Copy constructor.
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info)
cut generation method
virtual CglCutGenerator * clone() const
Abstract constructor.
This is class provides an Osi interface for a Mixed Integer Linear Program expressed as a TMINLP (so ...
void setLogLevel(int value)
virtual CoinMessageHandler * clone() const
(C) Copyright International Business Machines Corporation 2007