Go to the documentation of this file.
6 #ifndef CbcHeuristicDivePseudoCost_H
7 #define CbcHeuristicDivePseudoCost_H
44 const double *newSolution,
54 const double *random);
CbcHeuristicDivePseudoCost()
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 sol...
virtual bool selectVariableToBranch(OsiSolverInterface *solver, const double *newSolution, int &bestColumn, int &bestRound)
Selects the next variable to branch on.
~CbcHeuristicDivePseudoCost()
Simple Branch and bound class.
virtual void initializeData()
Initializes any data which is going to be used repeatedly in selectVariableToBranch.
CbcHeuristicDivePseudoCost & operator=(const CbcHeuristicDivePseudoCost &rhs)
Assignment operator.
virtual int fixOtherVariables(OsiSolverInterface *solver, const double *solution, PseudoReducedCost *candidate, const double *random)
Fix other variables at bounds.
virtual void generateCpp(FILE *fp)
Create C++ lines to get to current state.
virtual CbcHeuristicDivePseudoCost * clone() const
Clone.