#include <BonCouenneSetup.hpp>


Public Member Functions | |
| CouenneSetup () | |
| Default constructor. | |
| CouenneSetup (const CouenneSetup &other) | |
| Copy constructor. | |
| virtual Bonmin::BabSetupBase * | clone () const |
| virtual copy constructor. | |
| virtual | ~CouenneSetup () |
| destructor | |
| 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 basic options if don't already have them. | |
| CouenneCutGenerator * | couennePtr () const |
| return pointer to cut generator (used to get pointer to problem) | |
| bool | displayStats () |
| true if one wants to display statistics at the end of program | |
| void | addMilpCutGenerators () |
| add cut generators | |
| void | setDoubleParameter (const DoubleParameter &p, const double val) |
| modify parameter (used for MaxTime) | |
| double | getDoubleParameter (const DoubleParameter &p) const |
| modify parameter (used for MaxTime) | |
| void | setNodeComparisonMethod (Bonmin::BabSetupBase::NodeComparison c) |
Static Public Member Functions | |
| static void | registerAllOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
| Register all Couenne options. | |
Private Attributes | |
| Ipopt::SmartPtr< SmartAsl > | aslfg_ |
| CouenneCutGenerator * | CouennePtr_ |
| hold a reference to Couenne cut generator to delete it at last. | |
| bool | displayStats_ |
| true if one wants to display statistics at the end of program | |
| CouenneProblem * | couenneProb_ |
| MINLP formulation. | |
| bool | couenneProb_is_own_ |
| whether the couenneProb_ has been created by Couenne, and thus will be deleted by Couenne | |
Definition at line 40 of file BonCouenneSetup.hpp.
| Couenne::CouenneSetup::CouenneSetup | ( | ) | [inline] |
Default constructor.
Definition at line 43 of file BonCouenneSetup.hpp.
| Couenne::CouenneSetup::CouenneSetup | ( | const CouenneSetup & | other | ) | [inline] |
Copy constructor.
Definition at line 52 of file BonCouenneSetup.hpp.
| CouenneSetup::~CouenneSetup | ( | ) | [virtual] |
destructor
Definition at line 94 of file BonCouenneSetup.cpp.
| virtual Bonmin::BabSetupBase* Couenne::CouenneSetup::clone | ( | ) | const [inline, virtual] |
virtual copy constructor.
Reimplemented from Bonmin::BonminSetup.
Definition at line 59 of file BonCouenneSetup.hpp.
| bool 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.
Change default value for failure behavior so that code doesn't crash when Ipopt does not solve a sub-problem.
Set the output level of the journalist for all Couenne categories. We probably want to make that a bit more flexible later.
trying to avoid repetitions here...
setup initial heuristic (in principle it should only run once...)
Definition at line 103 of file BonCouenneSetup.cpp.
| void CouenneSetup::registerOptions | ( | ) | [virtual] |
register the options
Reimplemented from Bonmin::BonminSetup.
Definition at line 800 of file BonCouenneSetup.cpp.
| void CouenneSetup::registerAllOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static] |
| virtual void Couenne::CouenneSetup::readOptionsFile | ( | ) | [inline, virtual] |
Get the basic options if don't already have them.
Reimplemented from Bonmin::BabSetupBase.
Definition at line 78 of file BonCouenneSetup.hpp.
| CouenneCutGenerator* Couenne::CouenneSetup::couennePtr | ( | ) | const [inline] |
return pointer to cut generator (used to get pointer to problem)
Definition at line 84 of file BonCouenneSetup.hpp.
| bool Couenne::CouenneSetup::displayStats | ( | ) | [inline] |
true if one wants to display statistics at the end of program
Definition at line 88 of file BonCouenneSetup.hpp.
| void CouenneSetup::addMilpCutGenerators | ( | ) |
add cut generators
Add milp cut generators according to options.
Reimplemented from Bonmin::BonminSetup.
Definition at line 973 of file BonCouenneSetup.cpp.
| void Couenne::CouenneSetup::setDoubleParameter | ( | const DoubleParameter & | p, | |
| const double | val | |||
| ) | [inline] |
modify parameter (used for MaxTime)
Reimplemented from Bonmin::BabSetupBase.
Definition at line 95 of file BonCouenneSetup.hpp.
| double Couenne::CouenneSetup::getDoubleParameter | ( | const DoubleParameter & | p | ) | const [inline] |
modify parameter (used for MaxTime)
Reimplemented from Bonmin::BabSetupBase.
Definition at line 99 of file BonCouenneSetup.hpp.
| void Couenne::CouenneSetup::setNodeComparisonMethod | ( | Bonmin::BabSetupBase::NodeComparison | c | ) | [inline] |
Definition at line 102 of file BonCouenneSetup.hpp.
Ipopt::SmartPtr<SmartAsl> Couenne::CouenneSetup::aslfg_ [private] |
Definition at line 106 of file BonCouenneSetup.hpp.
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 112 of file BonCouenneSetup.hpp.
bool Couenne::CouenneSetup::displayStats_ [private] |
true if one wants to display statistics at the end of program
Definition at line 115 of file BonCouenneSetup.hpp.
MINLP formulation.
Definition at line 118 of file BonCouenneSetup.hpp.
bool Couenne::CouenneSetup::couenneProb_is_own_ [private] |
whether the couenneProb_ has been created by Couenne, and thus will be deleted by Couenne
Definition at line 121 of file BonCouenneSetup.hpp.
1.6.1