11 #ifndef BonCouenneSetup_H
12 #define BonCouenneSetup_H
16 #include "CbcFeasibilityBase.hpp"
28 class CouenneInterface;
29 class CouenneCutGenerator;
33 class SmartAsl :
public Ipopt::ReferencedObject{
37 Ipopt::ReferencedObject(),
Cut Generator for linear convexifications.
virtual void readOptionsFile()
Get the basic options if don't already have them.
static void registerAllOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Register all Couenne options.
virtual ~CouenneSetup()
destructor
void addMilpCutGenerators()
add cut generators
CouenneSetup(const CouenneSetup &other)
Copy constructor.
bool couenneProb_is_own_
whether the couenneProb_ has been created by Couenne, and thus will be deleted by Couenne ...
CouenneSetup()
Default constructor.
bool displayStats_
true if one wants to display statistics at the end of program
Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions()
Access registered Options.
bool displayStats()
true if one wants to display statistics at the end of program
CouenneCutGenerator * couennePtr() const
return pointer to cut generator (used to get pointer to problem)
Ipopt::SmartPtr< SmartAsl > aslfg_
bool readOptions_
flag to say if option file was read.
BonminSetup(const CoinMessageHandler *handler=NULL)
Default constructor.
void setDoubleParameter(const DoubleParameter &p, const double val)
modify parameter (used for MaxTime)
A class to have all elements necessary to setup a branch-and-bound.
NodeComparison nodeComparisonMethod_
Node comparison method.
DoubleParameter
Parameters represented by a double.
CouenneCutGenerator * CouennePtr_
hold a reference to Couenne cut generator to delete it at last.
virtual Bonmin::BabSetupBase * clone() const
virtual copy constructor.
Class for MINLP problems with symbolic information.
CouenneProblem * couenneProb_
MINLP formulation.
void setNodeComparisonMethod(Bonmin::BabSetupBase::NodeComparison c)
double doubleParam_[NumberDoubleParam]
storage of double parameters.
NodeComparison
Strategies for comparing the nodes on the heap.
bool InitializeCouenne(char **argv=NULL, CouenneProblem *couenneProb=NULL, Ipopt::SmartPtr< Bonmin::TMINLP > tminlp=NULL, CouenneInterface *ci=NULL, Bonmin::Bab *bb=NULL)
Initialize from command line arguments.
virtual void registerOptions()
register the options
virtual void readOptionsFile()
Get the options from default text file (bonmin.opt) if don't already have them.
double getDoubleParameter(const DoubleParameter &p) const
modify parameter (used for MaxTime)