|
Bonmin 1.8.9
|
#include <BonEcpCuts.hpp>
Public Member Functions | |
| EcpCuts (BabSetupBase &b) | |
| EcpCuts (const EcpCuts ©) | |
| Copy constructor. | |
| CglCutGenerator * | clone () const |
| clone | |
| virtual | ~EcpCuts () |
| Destructor. | |
| virtual void | generateCuts (const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo()) |
| Standard cut generation methods. | |
| double | doEcpRounds (OsiSolverInterface &si, bool leaveSiUnchanged, double *violation=NULL) |
| void | setNumRounds (int value) |
| void | setPropabilityFactor (double value) |
| void | setAbsViolationTolerance (double value) |
| void | setRelViolationTolerance (double value) |
| Public Member Functions inherited from Bonmin::OaDecompositionBase | |
| OaDecompositionBase (BabSetupBase &b, bool leaveSiUnchanged, bool reassignLpsolver) | |
| New usefull constructor. | |
| OaDecompositionBase (const OaDecompositionBase ©) | |
| Copy constructor. | |
| virtual | ~OaDecompositionBase () |
| Destructor. | |
| void | assignNlpInterface (OsiTMINLPInterface *nlp) |
| Assign an OsiTMINLPInterface. | |
| void | assignLpInterface (OsiSolverInterface *si) |
| Assign an OsiTMINLPInterface. | |
| bool | reassignLpsolver () |
| void | setObjects (OsiObject **objects, int nObjects) |
| Set objects. | |
| void | setLeaveSiUnchanged (bool yesno) |
| Set whether to leave the solverinterface unchanged. | |
| Parameters & | parameter () |
| const Parameters & | parameter () const |
| void | setLogLevel (int level) |
| void | setReassignLpSolver (bool v) |
| void | passInMessageHandler (CoinMessageHandler *handler) |
| 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 ecp cuts options. | |
Protected Member Functions | |
| virtual double | performOa (OsiCuts &cs, solverManip &lpManip, BabInfo *babInfo, double &cutoff, const CglTreeInfo &info) const |
| virtual method which performs the OA algorithm by modifying lp and nlp. | |
| virtual bool | doLocalSearch (BabInfo *babInfo) const |
| virutal method to decide if local search is performed | |
| Protected Member Functions inherited from Bonmin::OaDecompositionBase | |
| void | setupMipSolver (BabSetupBase &b, const std::string &prefix) |
| bool | post_nlp_solve (BabInfo *babInfo, double cutoff) const |
| Solve the nlp and do output. | |
Additional Inherited Members | |
| Public Attributes inherited from CglCutGenerator | |
| int | aggressive_ |
| bool | canDoGlobalCuts_ |
| Protected Attributes inherited from Bonmin::OaDecompositionBase | |
| OsiTMINLPInterface * | nlp_ |
| Pointer to nlp interface. | |
| BabSetupBase * | s_ |
| Pointer to setup. | |
| int | nSolve_ |
| Number of nlp solved done. | |
| OsiSolverInterface * | lp_ |
| A linear solver. | |
| OsiObject ** | objects_ |
| Some objects the feasiblitiy of which to verify. | |
| int | nObjects_ |
| Number of objects.*/. | |
| int | nLocalSearch_ |
| number of local searches performed | |
| CoinMessageHandler * | handler_ |
| messages handler. | |
| CoinMessages | messages_ |
| Messages for OA. | |
| bool | leaveSiUnchanged_ |
| Wether or not we should remove cuts at the end of the procedure. | |
| bool | reassignLpsolver_ |
| Do we need to reassign the lp solver with Cbc. | |
| double | timeBegin_ |
| time of construction | |
| int | numSols_ |
| number of solutions found by OA_decomposition. | |
| Parameters | parameters_ |
| Parameters. | |
| OsiCuts | savedCuts_ |
| Saved cuts: in some cases when using OA to check feasible solution algorithm may loop because Cbc removes inactive cuts. | |
| int | currentNodeNumber_ |
| Store the current node number. | |
Definition at line 17 of file BonEcpCuts.hpp.
| Bonmin::EcpCuts::EcpCuts | ( | BabSetupBase & | b | ) |
|
inline |
Copy constructor.
Definition at line 23 of file BonEcpCuts.hpp.
|
inlinevirtual |
Destructor.
Definition at line 39 of file BonEcpCuts.hpp.
|
inlinevirtual |
|
virtual |
Standard cut generation methods.
Reimplemented from Bonmin::OaDecompositionBase.
| double Bonmin::EcpCuts::doEcpRounds | ( | OsiSolverInterface & | si, |
| bool | leaveSiUnchanged, | ||
| double * | violation = NULL ) |
|
inline |
Definition at line 48 of file BonEcpCuts.hpp.
|
inline |
Definition at line 53 of file BonEcpCuts.hpp.
|
inline |
Definition at line 58 of file BonEcpCuts.hpp.
|
inline |
Definition at line 62 of file BonEcpCuts.hpp.
|
static |
Register ecp cuts options.
|
inlineprotectedvirtual |
virtual method which performs the OA algorithm by modifying lp and nlp.
Implements Bonmin::OaDecompositionBase.
Definition at line 72 of file BonEcpCuts.hpp.
|
inlineprotectedvirtual |
virutal method to decide if local search is performed
Implements Bonmin::OaDecompositionBase.
Definition at line 78 of file BonEcpCuts.hpp.