#include <CbcHeuristic.hpp>
Inheritance diagram for CbcRounding:
Public Member Functions | |
CbcRounding () | |
CbcRounding (CbcModel &model) | |
CbcRounding (const CbcRounding &) | |
~CbcRounding () | |
virtual CbcHeuristic * | clone () const |
Clone. | |
virtual void | generateCpp (FILE *fp) |
Create C++ lines to get to current state. | |
virtual void | resetModel (CbcModel *model) |
Resets stuff if model changes. | |
virtual void | setModel (CbcModel *model) |
update model (This is needed if cliques update matrix etc) | |
virtual int | solution (double &objectiveValue, double *newSolution) |
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value (only if good) This is called after cuts have been added - so can not add cuts | |
virtual void | validate () |
Validate model i.e. sets when_ to 0 if necessary (may be NULL). | |
void | setSeed (int value) |
Set seed. | |
Protected Attributes | |
CoinPackedMatrix | matrix_ |
CoinPackedMatrix | matrixByRow_ |
int | seed_ |
Private Member Functions | |
CbcRounding & | operator= (const CbcRounding &rhs) |
Illegal Assignment operator. |
Definition at line 92 of file CbcHeuristic.hpp.
|
|
|
|
|
|
|
|
|
Clone.
Implements CbcHeuristic. |
|
Create C++ lines to get to current state.
Reimplemented from CbcHeuristic. |
|
Resets stuff if model changes.
Implements CbcHeuristic. |
|
update model (This is needed if cliques update matrix etc)
Reimplemented from CbcHeuristic. |
|
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value (only if good) This is called after cuts have been added - so can not add cuts
Implements CbcHeuristic. |
|
Validate model i.e. sets when_ to 0 if necessary (may be NULL).
Reimplemented from CbcHeuristic. |
|
Set seed.
Definition at line 130 of file CbcHeuristic.hpp. References seed_. |
|
Illegal Assignment operator.
|
|
Definition at line 137 of file CbcHeuristic.hpp. |
|
Definition at line 140 of file CbcHeuristic.hpp. |
|
Definition at line 143 of file CbcHeuristic.hpp. Referenced by setSeed(). |