|
Cbc
2.10.5
|
#include <CbcCompareDefault.hpp>
Inheritance diagram for CbcCompareDefault:
Collaboration diagram for CbcCompareDefault:Public Member Functions | |
| CbcCompareDefault () | |
| Default Constructor. More... | |
| CbcCompareDefault (double weight) | |
| Constructor with weight. More... | |
| CbcCompareDefault (const CbcCompareDefault &rhs) | |
| Copy constructor. More... | |
| CbcCompareDefault & | operator= (const CbcCompareDefault &rhs) |
| Assignment operator. More... | |
| virtual CbcCompareBase * | clone () const |
| Clone. More... | |
| virtual void | generateCpp (FILE *fp) |
| Create C++ lines to get to current state. More... | |
| ~CbcCompareDefault () | |
| virtual bool | test (CbcNode *x, CbcNode *y) |
| This is test function. More... | |
| virtual bool | newSolution (CbcModel *model, double objectiveAtContinuous, int numberInfeasibilitiesAtContinuous) |
| This allows method to change behavior as it is called after each solution. More... | |
| virtual bool | every1000Nodes (CbcModel *model, int numberNodes) |
| This allows method to change behavior Return true if want tree re-sorted. More... | |
| double | getWeight () const |
| void | setWeight (double weight) |
| double | getCutoff () const |
| Cutoff. More... | |
| void | setCutoff (double cutoff) |
| double | getBestPossible () const |
| Best possible solution. More... | |
| void | setBestPossible (double bestPossible) |
| void | setBreadthDepth (int value) |
| Depth above which want to explore first. More... | |
| void | startDive (CbcModel *model) |
| Start dive. More... | |
| void | cleanDive () |
| Clean up diving (i.e. switch off or prepare) More... | |
Public Member Functions inherited from CbcCompareBase | |
| CbcCompareBase () | |
| virtual bool | newSolution (CbcModel *) |
| Reconsider behaviour after discovering a new solution. More... | |
| virtual bool | fullScan () const |
| Returns true if wants code to do scan with alternate criterion NOTE - this is temporarily disabled. More... | |
| virtual | ~CbcCompareBase () |
| CbcCompareBase (const CbcCompareBase &rhs) | |
| CbcCompareBase & | operator= (const CbcCompareBase &rhs) |
| virtual bool | alternateTest (CbcNode *x, CbcNode *y) |
| This is alternate test function. More... | |
| bool | operator() (CbcNode *x, CbcNode *y) |
| bool | equalityTest (CbcNode *x, CbcNode *y) const |
| Further test if everything else equal. More... | |
| void | sayThreaded () |
| Say threaded. More... | |
Protected Attributes | |
| double | weight_ |
| Weight for each infeasibility. More... | |
| double | saveWeight_ |
| Weight for each infeasibility - computed from solution. More... | |
| double | cutoff_ |
| Cutoff. More... | |
| double | bestPossible_ |
| Best possible solution. More... | |
| int | numberSolutions_ |
| Number of solutions. More... | |
| int | treeSize_ |
| Tree size (at last check) More... | |
| int | breadthDepth_ |
| Depth above which want to explore first. More... | |
| int | startNodeNumber_ |
| Chosen node from estimated (-1 is off) More... | |
| int | afterNodeNumber_ |
| Node number when dive started. More... | |
| bool | setupForDiving_ |
| Indicates doing setup for diving. More... | |
Protected Attributes inherited from CbcCompareBase | |
| CbcCompareBase * | test_ |
| bool | threaded_ |
Definition at line 30 of file CbcCompareDefault.hpp.
| CbcCompareDefault::CbcCompareDefault | ( | ) |
Default Constructor.
| CbcCompareDefault::CbcCompareDefault | ( | double | weight | ) |
Constructor with weight.
| CbcCompareDefault::CbcCompareDefault | ( | const CbcCompareDefault & | rhs | ) |
Copy constructor.
| CbcCompareDefault::~CbcCompareDefault | ( | ) |
| CbcCompareDefault& CbcCompareDefault::operator= | ( | const CbcCompareDefault & | rhs | ) |
Assignment operator.
|
virtual |
Clone.
Reimplemented from CbcCompareBase.
|
virtual |
Create C++ lines to get to current state.
Reimplemented from CbcCompareBase.
This is test function.
Reimplemented from CbcCompareBase.
|
virtual |
This allows method to change behavior as it is called after each solution.
Reimplemented from CbcCompareBase.
|
virtual |
This allows method to change behavior Return true if want tree re-sorted.
Reimplemented from CbcCompareBase.
|
inline |
Definition at line 67 of file CbcCompareDefault.hpp.
|
inline |
Definition at line 71 of file CbcCompareDefault.hpp.
|
inline |
Cutoff.
Definition at line 76 of file CbcCompareDefault.hpp.
|
inline |
Definition at line 80 of file CbcCompareDefault.hpp.
|
inline |
Best possible solution.
Definition at line 85 of file CbcCompareDefault.hpp.
|
inline |
Definition at line 89 of file CbcCompareDefault.hpp.
|
inline |
Depth above which want to explore first.
Definition at line 94 of file CbcCompareDefault.hpp.
| void CbcCompareDefault::startDive | ( | CbcModel * | model | ) |
Start dive.
| void CbcCompareDefault::cleanDive | ( | ) |
Clean up diving (i.e. switch off or prepare)
|
protected |
Weight for each infeasibility.
Definition at line 105 of file CbcCompareDefault.hpp.
|
protected |
Weight for each infeasibility - computed from solution.
Definition at line 107 of file CbcCompareDefault.hpp.
|
protected |
Cutoff.
Definition at line 109 of file CbcCompareDefault.hpp.
|
protected |
Best possible solution.
Definition at line 111 of file CbcCompareDefault.hpp.
|
protected |
Number of solutions.
Definition at line 113 of file CbcCompareDefault.hpp.
|
protected |
Tree size (at last check)
Definition at line 115 of file CbcCompareDefault.hpp.
|
protected |
Depth above which want to explore first.
Definition at line 117 of file CbcCompareDefault.hpp.
|
protected |
Chosen node from estimated (-1 is off)
Definition at line 119 of file CbcCompareDefault.hpp.
|
protected |
Node number when dive started.
Definition at line 121 of file CbcCompareDefault.hpp.
|
protected |
Indicates doing setup for diving.
Definition at line 123 of file CbcCompareDefault.hpp.
1.8.5