14 #include "OsiAuxInfo.hpp"
15 #include "CoinSmartPtr.hpp"
29 AuxInfo(
const OsiBabSolver &other);
38 virtual OsiAuxInfo *
clone()
const;
65 void setNlpSolution(
const double * sol,
int numcols,
double objValue);
88 (*bestSolution2_)().clear();
double * nlpSolution_
nlp solution found by heuristic if any.
void setBestSolution2(int n, double *d)
Coin::SmartPtr< SimpleReferenced< std::vector< double > > > bestSolution2_
Stores the solution with alternate objective.
void setInfeasibleNode()
Declare the node to be infeasible.
bool infeasibleNode_
Say if current node was found infeasible during cut generation.
void setBestObj2(double o)
Set an alternate objective value.
const std::vector< double > & bestSolution2() const
get the best solution computed with alternative objective function.
int numcols_
numcols_ gives the size of nlpSolution_.
const double * nlpSolution()
Get solution found by nlp solver (or NULL if none found).
Coin::SmartPtr< SimpleReferenced< double > > bestObj2_
Alternate solution objective value.
double bestObj2() const
return objective value of the best solution computed with alternative objective function.
double objValue_
value of the objective function of this nlp solution
bool hasNlpSolution_
say if has a solution.
bool infeasibleNode()
Say if current node is found feasible by cut generators.
void setFeasibleNode()
Declare the node to be feasible.
void setNlpSolution(const double *sol, int numcols, double objValue)
Pass a solution found by an nlp solver.
AuxInfo(int type)
Default constructor.
double nlpObjValue()
Get objective value of nlp solution found, or +infinity if none exists.
void setHasNlpSolution(bool b)
Say if has an nlp solution.
virtual ~AuxInfo()
Destructor.
Bonmin class for passing info between components of branch-and-cuts.
virtual OsiAuxInfo * clone() const
Virtual copy constructor.