Couenne
0.2
|
#include <BonCouenneSetup.hpp>
Public Member Functions | |
CouenneSetup () | |
Default constructor. More... | |
CouenneSetup (const CouenneSetup &other) | |
Copy constructor. More... | |
virtual Bonmin::BabSetupBase * | clone () const |
virtual copy constructor. More... | |
virtual | ~CouenneSetup () |
destructor More... | |
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. More... | |
virtual void | registerOptions () |
register the options More... | |
virtual void | readOptionsFile () |
Get the basic options if don't already have them. More... | |
CouenneCutGenerator * | couennePtr () const |
return pointer to cut generator (used to get pointer to problem) More... | |
bool | displayStats () |
true if one wants to display statistics at the end of program More... | |
void | addMilpCutGenerators () |
add cut generators More... | |
void | setDoubleParameter (const DoubleParameter &p, const double val) |
modify parameter (used for MaxTime) More... | |
double | getDoubleParameter (const DoubleParameter &p) const |
modify parameter (used for MaxTime) More... | |
void | setNodeComparisonMethod (Bonmin::BabSetupBase::NodeComparison c) |
Static Public Member Functions | |
static void | registerAllOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Register all Couenne options. More... | |
Private Attributes | |
Ipopt::SmartPtr< SmartAsl > | aslfg_ |
CouenneCutGenerator * | CouennePtr_ |
hold a reference to Couenne cut generator to delete it at last. More... | |
bool | displayStats_ |
true if one wants to display statistics at the end of program More... | |
CouenneProblem * | couenneProb_ |
MINLP formulation. More... | |
bool | couenneProb_is_own_ |
whether the couenneProb_ has been created by Couenne, and thus will be deleted by Couenne More... | |
Definition at line 43 of file BonCouenneSetup.hpp.
|
inline |
|
inline |
Copy constructor.
Definition at line 55 of file BonCouenneSetup.hpp.
|
virtual |
destructor
|
inlinevirtual |
virtual copy constructor.
Definition at line 62 of file BonCouenneSetup.hpp.
References CouenneSetup().
bool Couenne::CouenneSetup::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 |
register the options
|
static |
Register all Couenne options.
|
inlinevirtual |
Get the basic options if don't already have them.
Definition at line 81 of file BonCouenneSetup.hpp.
|
inline |
return pointer to cut generator (used to get pointer to problem)
Definition at line 87 of file BonCouenneSetup.hpp.
References CouennePtr_.
|
inline |
true if one wants to display statistics at the end of program
Definition at line 91 of file BonCouenneSetup.hpp.
References displayStats_.
void Couenne::CouenneSetup::addMilpCutGenerators | ( | ) |
add cut generators
|
inline |
modify parameter (used for MaxTime)
Definition at line 98 of file BonCouenneSetup.hpp.
|
inline |
modify parameter (used for MaxTime)
Definition at line 102 of file BonCouenneSetup.hpp.
|
inline |
Definition at line 105 of file BonCouenneSetup.hpp.
|
private |
Definition at line 109 of file BonCouenneSetup.hpp.
|
private |
hold a reference to Couenne cut generator to delete it at last.
The alternative would be to clone it every time the CouenneSolverInterface is cloned (that is, at each call of Optimality-based bound tightening).
Definition at line 115 of file BonCouenneSetup.hpp.
Referenced by couennePtr().
|
private |
true if one wants to display statistics at the end of program
Definition at line 118 of file BonCouenneSetup.hpp.
Referenced by displayStats().
|
private |
MINLP formulation.
Definition at line 121 of file BonCouenneSetup.hpp.
|
private |
whether the couenneProb_ has been created by Couenne, and thus will be deleted by Couenne
Definition at line 124 of file BonCouenneSetup.hpp.