#include <BonCbcNlpStrategy.hpp>


Public Member Functions | |
| CbcNlpStrategy (int maxFailures, int maxInfeasibles, int pretendFailIsInfeasible) | |
| CbcNlpStrategy (const CbcNlpStrategy &) | |
| virtual | ~CbcNlpStrategy () |
| virtual CbcStrategy * | clone () const |
| Clone. More... | |
| virtual CbcNodeInfo * | fullNodeInfo (CbcModel *model, int numberRowsAtContinuous) const |
| Return a new Full node information pointer (descendant of CbcFullNodeInfo) More... | |
| virtual CbcNodeInfo * | partialNodeInfo (CbcModel *model, CbcNodeInfo *parent, CbcNode *owner, int numberChangedBounds, const int *variables, const double *boundChanges, const CoinWarmStartDiff *basisDiff) const |
| Return a new Partial node information pointer (descendant of CbcPartialNodeInfo) More... | |
| virtual int | status (CbcModel *model, CbcNodeInfo *parent, int whereFrom) |
| After a CbcModel::resolve this can return a status -1 no effect 0 treat as optimal 1 as 0 but do not do any more resolves (i.e. More... | |
| void | setMaxFailure (int value) |
| set maximum number of consecutive failures in a branch before giving up More... | |
| void | setMaxInfeasible (int value) |
| maximum number of consecutive infeasible nodes before giving up More... | |
| virtual void | setupCutGenerators (CbcModel &model) |
| Setup cut generators. More... | |
| virtual void | setupHeuristics (CbcModel &model) |
| Setup heuristics. More... | |
| virtual void | setupPrinting (CbcModel &model, int modelLogLevel) |
| Do printing stuff. More... | |
| virtual void | setupOther (CbcModel &model) |
| Other stuff e.g. strong branching and preprocessing. More... | |
| bool | hasFailed () |
Protected Attributes | |
| bool | hasFailed_ |
| did we fail? More... | |
| int | maxFailure_ |
| maximum number of consecutive failures in a branch before giving up More... | |
| int | maxInfeasible_ |
| maximum number of consecutive infeasible nodes before giving up More... | |
| int | pretendFailIsInfeasible_ |
| If yes when a problem is not solved (failed to be solved) will pretend that it is infeasible. More... | |
Private Member Functions | |
| CbcNlpStrategy & | operator= (const CbcNlpStrategy &rhs) |
| Illegal Assignment operator. More... | |
Definition at line 23 of file BonCbcNlpStrategy.hpp.
| Bonmin::CbcNlpStrategy::CbcNlpStrategy | ( | int | maxFailures, |
| int | maxInfeasibles, | ||
| int | pretendFailIsInfeasible | ||
| ) |
Definition at line 25 of file BonCbcNlpStrategy.cpp.
| Bonmin::CbcNlpStrategy::CbcNlpStrategy | ( | const CbcNlpStrategy & | rhs | ) |
Definition at line 50 of file BonCbcNlpStrategy.cpp.
|
virtual |
Definition at line 39 of file BonCbcNlpStrategy.cpp.
|
virtual |
Clone.
Definition at line 44 of file BonCbcNlpStrategy.cpp.
|
virtual |
Return a new Full node information pointer (descendant of CbcFullNodeInfo)
Definition at line 59 of file BonCbcNlpStrategy.cpp.
|
virtual |
Return a new Partial node information pointer (descendant of CbcPartialNodeInfo)
Definition at line 65 of file BonCbcNlpStrategy.cpp.
|
virtual |
After a CbcModel::resolve this can return a status -1 no effect 0 treat as optimal 1 as 0 but do not do any more resolves (i.e.
no more cuts) 2 treat as infeasible
Definition at line 80 of file BonCbcNlpStrategy.cpp.
set maximum number of consecutive failures in a branch before giving up
Definition at line 56 of file BonCbcNlpStrategy.hpp.
maximum number of consecutive infeasible nodes before giving up
Definition at line 61 of file BonCbcNlpStrategy.hpp.
|
virtual |
Setup cut generators.
Definition at line 158 of file BonCbcNlpStrategy.cpp.
|
virtual |
Setup heuristics.
Definition at line 162 of file BonCbcNlpStrategy.cpp.
Do printing stuff.
Definition at line 166 of file BonCbcNlpStrategy.cpp.
|
virtual |
Other stuff e.g. strong branching and preprocessing.
Definition at line 170 of file BonCbcNlpStrategy.cpp.
|
inline |
Definition at line 75 of file BonCbcNlpStrategy.hpp.
|
private |
Illegal Assignment operator.
|
protected |
did we fail?
Definition at line 82 of file BonCbcNlpStrategy.hpp.
|
protected |
maximum number of consecutive failures in a branch before giving up
Definition at line 84 of file BonCbcNlpStrategy.hpp.
|
protected |
maximum number of consecutive infeasible nodes before giving up
Definition at line 86 of file BonCbcNlpStrategy.hpp.
|
protected |
If yes when a problem is not solved (failed to be solved) will pretend that it is infeasible.
Definition at line 89 of file BonCbcNlpStrategy.hpp.
1.8.5