Bonmin
1.8.8
|
#include <BonDiver.hpp>
Public Member Functions | |
DiverCompare () | |
virtual | ~DiverCompare () |
DiverCompare (const DiverCompare &rhs) | |
DiverCompare & | operator= (const DiverCompare &rhs) |
virtual CbcCompareBase * | clone () const |
Clone. More... | |
virtual bool | test (CbcNode *x, CbcNode *y) |
This is test function. More... | |
virtual bool | newSolution (CbcModel *model) |
Called after each new solution. More... | |
virtual bool | newSolution (CbcModel *model, double objectiveAtContinuous, int numberInfeasibilitiesAtContinuous) |
Called after each new solution. More... | |
virtual bool | every1000Nodes (CbcModel *model, int numberNodes) |
Called 1000 nodes. More... | |
void | setDiver (CbcDfsDiver *diver) |
Set the dfs diver to use. More... | |
void | setNumberSolToStopDive (int val) |
Set numberSolToStopDive_. More... | |
void | setNumberNodesToLimitTreeSize (int val) |
Set numberNodesToLimitTreeSize_. More... | |
void | setComparisonDive (const CbcCompareBase &val) |
Set comparison method when diving. More... | |
void | setComparisonBound (const CbcCompareBase &val) |
Set comparison method when closing bound. More... | |
Private Attributes | |
CbcDfsDiver * | diver_ |
Pointer to the CbcDfsDiver handling the tree. More... | |
int | numberSolToStopDive_ |
Number of solution before we command diver_ to stop diving. More... | |
int | numberNodesToLimitTreeSize_ |
Number of nodes before we command diver_ to limit the tree size. More... | |
CbcCompareBase * | comparisonDive_ |
Comparison method used in diving mode. More... | |
CbcCompareBase * | comparisonBound_ |
Comparison method used bound mode. More... | |
CbcCompareDepth | comparisonDepth_ |
Comparison method used when limit tree size. More... | |
Definition at line 309 of file BonDiver.hpp.
|
inline |
Definition at line 313 of file BonDiver.hpp.
Referenced by clone().
|
inlinevirtual |
Definition at line 323 of file BonDiver.hpp.
References comparisonBound_, and comparisonDive_.
|
inline |
Definition at line 330 of file BonDiver.hpp.
|
inline |
Definition at line 340 of file BonDiver.hpp.
References comparisonBound_, comparisonDive_, diver_, numberNodesToLimitTreeSize_, and numberSolToStopDive_.
|
inlinevirtual |
|
virtual |
This is test function.
|
virtual |
Called after each new solution.
|
virtual |
Called after each new solution.
|
virtual |
Called 1000 nodes.
Return true if want tree re-sorted.
|
inline |
|
inline |
Set numberSolToStopDive_.
Definition at line 385 of file BonDiver.hpp.
References numberSolToStopDive_.
|
inline |
Set numberNodesToLimitTreeSize_.
Definition at line 391 of file BonDiver.hpp.
References numberNodesToLimitTreeSize_.
|
inline |
Set comparison method when diving.
Definition at line 397 of file BonDiver.hpp.
References comparisonDive_.
|
inline |
Set comparison method when closing bound.
Definition at line 402 of file BonDiver.hpp.
References comparisonBound_.
|
private |
Pointer to the CbcDfsDiver handling the tree.
Definition at line 408 of file BonDiver.hpp.
Referenced by operator=(), and setDiver().
|
private |
Number of solution before we command diver_ to stop diving.
Definition at line 410 of file BonDiver.hpp.
Referenced by operator=(), and setNumberSolToStopDive().
|
private |
Number of nodes before we command diver_ to limit the tree size.
Definition at line 412 of file BonDiver.hpp.
Referenced by operator=(), and setNumberNodesToLimitTreeSize().
|
private |
Comparison method used in diving mode.
Definition at line 414 of file BonDiver.hpp.
Referenced by operator=(), setComparisonDive(), and ~DiverCompare().
|
private |
Comparison method used bound mode.
Definition at line 416 of file BonDiver.hpp.
Referenced by operator=(), setComparisonBound(), and ~DiverCompare().
|
private |
Comparison method used when limit tree size.
Definition at line 418 of file BonDiver.hpp.