11 #ifndef BonInitHeuristic_HPP
12 #define BonInitHeuristic_HPP
14 #include "CbcHeuristic.hpp"
37 virtual CbcHeuristic *
clone()
const;
48 virtual int solution(
double & objectiveValue,
double * newSolution);
virtual ~InitHeuristic()
Destructor.
A heuristic that stores the initial solution of the NLP.
InitHeuristic & operator=(const InitHeuristic &rhs)
Assignment operator.
int nVars_
Size of array sol.
virtual int solution(double &objectiveValue, double *newSolution)
Run heuristic, return 1 if a better solution than the one passed is found and 0 otherwise.
virtual void resetModel(CbcModel *model)
Class for MINLP problems with symbolic information.
virtual CbcHeuristic * clone() const
Clone.
InitHeuristic()
Default constructor.
double * sol_
point from initial solve
double objValue_
objective function value from initial solve