11#ifndef BonInitHeuristic_HPP
12#define BonInitHeuristic_HPP
48 virtual int solution(
double & objectiveValue,
double * newSolution);
Class for MINLP problems with symbolic information.
A heuristic that stores the initial solution of the NLP.
virtual CbcHeuristic * clone() const
Clone.
InitHeuristic(double objValue, const double *sol, CouenneProblem &cp)
Constructor with model and Ipopt problems.
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)
InitHeuristic & operator=(const InitHeuristic &rhs)
Assignment operator.
InitHeuristic(const InitHeuristic &other)
Copy constructor.
virtual ~InitHeuristic()
Destructor.
general include file for different compilers