#include <CbcHeuristicDiveGuided.hpp>
Inheritance diagram for CbcHeuristicDiveGuided:
Public Member Functions | |
CbcHeuristicDiveGuided () | |
CbcHeuristicDiveGuided (CbcModel &model) | |
CbcHeuristicDiveGuided (const CbcHeuristicDiveGuided &) | |
~CbcHeuristicDiveGuided () | |
virtual CbcHeuristicDiveGuided * | clone () const |
Clone. | |
CbcHeuristicDiveGuided & | operator= (const CbcHeuristicDiveGuided &rhs) |
Assignment operator. | |
virtual void | generateCpp (FILE *fp) |
Create C++ lines to get to current state. | |
virtual bool | canHeuristicRun () |
Tests if the heuristic can run. | |
virtual bool | selectVariableToBranch (OsiSolverInterface *solver, const double *newSolution, int &bestColumn, int &bestRound) |
Returns true if all the fractional variables can be trivially rounded. |
Definition at line 14 of file CbcHeuristicDiveGuided.hpp.
CbcHeuristicDiveGuided::CbcHeuristicDiveGuided | ( | ) |
CbcHeuristicDiveGuided::CbcHeuristicDiveGuided | ( | CbcModel & | model | ) |
CbcHeuristicDiveGuided::CbcHeuristicDiveGuided | ( | const CbcHeuristicDiveGuided & | ) |
CbcHeuristicDiveGuided::~CbcHeuristicDiveGuided | ( | ) |
virtual CbcHeuristicDiveGuided* CbcHeuristicDiveGuided::clone | ( | ) | const [virtual] |
CbcHeuristicDiveGuided& CbcHeuristicDiveGuided::operator= | ( | const CbcHeuristicDiveGuided & | rhs | ) |
Assignment operator.
virtual void CbcHeuristicDiveGuided::generateCpp | ( | FILE * | fp | ) | [virtual] |
virtual bool CbcHeuristicDiveGuided::canHeuristicRun | ( | ) | [virtual] |
virtual bool CbcHeuristicDiveGuided::selectVariableToBranch | ( | OsiSolverInterface * | solver, | |
const double * | newSolution, | |||
int & | bestColumn, | |||
int & | bestRound | |||
) | [virtual] |
Returns true if all the fractional variables can be trivially rounded.
Returns false, if there is at least one fractional variable that is not trivially roundable. In this case, the bestColumn returned will not be trivially roundable.
Implements CbcHeuristicDive.