|
Bonmin 1.8.9
|
Generate cuts for the nlp corresponding to continuous relaxation at a node. More...
#include <BonOaNlpOptim.hpp>
Public Member Functions | |
| OaNlpOptim (OsiTMINLPInterface *si=NULL, int maxDepth=10, bool addOnlyViolated=false, bool globalCuts=true) | |
| Default constructor. | |
| OaNlpOptim (BabSetupBase &b) | |
| Constructor with basic setup. | |
| OaNlpOptim (const OaNlpOptim ©) | |
| Copy constructor. | |
| void | passInMessageHandler (const CoinMessageHandler *handler) |
| virtual CglCutGenerator * | clone () const |
| Abstract constructor. | |
| virtual | ~OaNlpOptim () |
| Desctructor. | |
| void | assignInterface (OsiTMINLPInterface *si) |
| Assign an OsiTMINLPInterface. | |
| virtual void | generateCuts (const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info) |
| cut generation method | |
| void | setMaxDepth (int value) |
| void | setAddOnlyViolated (bool yesno) |
| void | setGlobalCuts (bool yesno) |
| int | getNSolve () |
| void | setLogLevel (int value) |
| set log level | |
| Public Member Functions inherited from CglCutGenerator | |
| CglCutGenerator () | |
| CglCutGenerator (const CglCutGenerator &) | |
| CglCutGenerator & | operator= (const CglCutGenerator &rhs) |
| virtual | ~CglCutGenerator () |
| virtual std::string | generateCpp (FILE *) |
| virtual void | refreshSolver (OsiSolverInterface *) |
| int | getAggressiveness () const |
| void | setAggressiveness (int value) |
| void | setGlobalCuts (bool trueOrFalse) |
| bool | canDoGlobalCuts () const |
| virtual bool | mayGenerateRowCutsInTree () const |
| virtual bool | needsOptimalBasis () const |
| virtual int | maximumLengthOfCutInTree () const |
| CglCutGenerator () | |
| CglCutGenerator (const CglCutGenerator &) | |
| CglCutGenerator & | operator= (const CglCutGenerator &rhs) |
| virtual | ~CglCutGenerator () |
| virtual std::string | generateCpp (FILE *) |
| virtual void | refreshSolver (OsiSolverInterface *) |
Static Public Member Functions | |
| static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
| Register OaNlpOptim options. | |
Additional Inherited Members | |
| Public Attributes inherited from CglCutGenerator | |
| int | aggressive_ |
| bool | canDoGlobalCuts_ |
Generate cuts for the nlp corresponding to continuous relaxation at a node.
Definition at line 19 of file BonOaNlpOptim.hpp.
| Bonmin::OaNlpOptim::OaNlpOptim | ( | OsiTMINLPInterface * | si = NULL, |
| int | maxDepth = 10, | ||
| bool | addOnlyViolated = false, | ||
| bool | globalCuts = true ) |
Default constructor.
| Bonmin::OaNlpOptim::OaNlpOptim | ( | BabSetupBase & | b | ) |
Constructor with basic setup.
|
inline |
Copy constructor.
Definition at line 30 of file BonOaNlpOptim.hpp.
|
inlinevirtual |
Desctructor.
Definition at line 56 of file BonOaNlpOptim.hpp.
|
inline |
Definition at line 44 of file BonOaNlpOptim.hpp.
|
inlinevirtual |
| void Bonmin::OaNlpOptim::assignInterface | ( | OsiTMINLPInterface * | si | ) |
Assign an OsiTMINLPInterface.
|
virtual |
cut generation method
Implements CglCutGenerator.
|
inline |
Definition at line 70 of file BonOaNlpOptim.hpp.
|
inline |
Definition at line 74 of file BonOaNlpOptim.hpp.
|
inline |
Definition at line 78 of file BonOaNlpOptim.hpp.
|
inline |
Definition at line 82 of file BonOaNlpOptim.hpp.
|
inline |
set log level
Definition at line 87 of file BonOaNlpOptim.hpp.
|
static |
Register OaNlpOptim options.