DiveLineSearch class. More...
#include <CbcHeuristicDiveLineSearch.hpp>
Public Member Functions | |
CbcHeuristicDiveLineSearch () | |
CbcHeuristicDiveLineSearch (CbcModel &model) | |
CbcHeuristicDiveLineSearch (const CbcHeuristicDiveLineSearch &) | |
~CbcHeuristicDiveLineSearch () | |
virtual CbcHeuristicDiveLineSearch * | clone () const |
Clone. | |
CbcHeuristicDiveLineSearch & | operator= (const CbcHeuristicDiveLineSearch &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. | |
CbcHeuristicDiveLineSearch () | |
CbcHeuristicDiveLineSearch (CbcModel &model) | |
CbcHeuristicDiveLineSearch (const CbcHeuristicDiveLineSearch &) | |
~CbcHeuristicDiveLineSearch () | |
virtual CbcHeuristicDiveLineSearch * | clone () const |
Clone. | |
CbcHeuristicDiveLineSearch & | operator= (const CbcHeuristicDiveLineSearch &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. |
DiveLineSearch class.
Definition at line 12 of file CbcHeuristicDiveLineSearch.hpp.
CbcHeuristicDiveLineSearch::CbcHeuristicDiveLineSearch | ( | ) |
CbcHeuristicDiveLineSearch::CbcHeuristicDiveLineSearch | ( | CbcModel & | model | ) |
CbcHeuristicDiveLineSearch::CbcHeuristicDiveLineSearch | ( | const CbcHeuristicDiveLineSearch & | ) |
CbcHeuristicDiveLineSearch::~CbcHeuristicDiveLineSearch | ( | ) |
CbcHeuristicDiveLineSearch::CbcHeuristicDiveLineSearch | ( | ) |
CbcHeuristicDiveLineSearch::CbcHeuristicDiveLineSearch | ( | CbcModel & | model | ) |
CbcHeuristicDiveLineSearch::CbcHeuristicDiveLineSearch | ( | const CbcHeuristicDiveLineSearch & | ) |
CbcHeuristicDiveLineSearch::~CbcHeuristicDiveLineSearch | ( | ) |
virtual CbcHeuristicDiveLineSearch* CbcHeuristicDiveLineSearch::clone | ( | ) | const [virtual] |
Clone.
Implements CbcHeuristicDive.
CbcHeuristicDiveLineSearch& CbcHeuristicDiveLineSearch::operator= | ( | const CbcHeuristicDiveLineSearch & | rhs | ) |
Assignment operator.
virtual void CbcHeuristicDiveLineSearch::generateCpp | ( | FILE * | fp | ) | [virtual] |
Create C++ lines to get to current state.
Reimplemented from CbcHeuristicDive.
virtual bool CbcHeuristicDiveLineSearch::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.
virtual CbcHeuristicDiveLineSearch* CbcHeuristicDiveLineSearch::clone | ( | ) | const [virtual] |
Clone.
Implements CbcHeuristicDive.
CbcHeuristicDiveLineSearch& CbcHeuristicDiveLineSearch::operator= | ( | const CbcHeuristicDiveLineSearch & | rhs | ) |
Assignment operator.
virtual void CbcHeuristicDiveLineSearch::generateCpp | ( | FILE * | fp | ) | [virtual] |
Create C++ lines to get to current state.
Reimplemented from CbcHeuristicDive.
virtual bool CbcHeuristicDiveLineSearch::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.