DiveVectorLength class. More...
#include <CbcHeuristicDiveVectorLength.hpp>
Public Member Functions | |
CbcHeuristicDiveVectorLength () | |
CbcHeuristicDiveVectorLength (CbcModel &model) | |
CbcHeuristicDiveVectorLength (const CbcHeuristicDiveVectorLength &) | |
~CbcHeuristicDiveVectorLength () | |
virtual CbcHeuristicDiveVectorLength * | clone () const |
Clone. | |
CbcHeuristicDiveVectorLength & | operator= (const CbcHeuristicDiveVectorLength &rhs) |
Assignment operator. | |
virtual void | generateCpp (FILE *fp) |
Create C++ lines to get to current state. | |
virtual bool | selectVariableToBranch (OsiSolverInterface *solver, const double *newSolution, int &bestColumn, int &bestRound) |
Selects the next variable to branch on. |
DiveVectorLength class.
Definition at line 11 of file CbcHeuristicDiveVectorLength.hpp.
CbcHeuristicDiveVectorLength::CbcHeuristicDiveVectorLength | ( | ) |
CbcHeuristicDiveVectorLength::CbcHeuristicDiveVectorLength | ( | CbcModel & | model | ) |
CbcHeuristicDiveVectorLength::CbcHeuristicDiveVectorLength | ( | const CbcHeuristicDiveVectorLength & | ) |
CbcHeuristicDiveVectorLength::~CbcHeuristicDiveVectorLength | ( | ) |
virtual CbcHeuristicDiveVectorLength* CbcHeuristicDiveVectorLength::clone | ( | ) | const [virtual] |
Clone.
Implements CbcHeuristicDive.
CbcHeuristicDiveVectorLength& CbcHeuristicDiveVectorLength::operator= | ( | const CbcHeuristicDiveVectorLength & | rhs | ) |
Assignment operator.
Reimplemented from CbcHeuristicDive.
virtual void CbcHeuristicDiveVectorLength::generateCpp | ( | FILE * | fp | ) | [virtual] |
Create C++ lines to get to current state.
Reimplemented from CbcHeuristicDive.
virtual bool CbcHeuristicDiveVectorLength::selectVariableToBranch | ( | OsiSolverInterface * | solver, | |
const double * | newSolution, | |||
int & | bestColumn, | |||
int & | bestRound | |||
) | [virtual] |
Selects the next variable to branch on.
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.