#include <BonDummyHeuristic.hpp>
Public Member Functions | |
DummyHeuristic (OsiTMINLPInterface *si=NULL) | |
Default constructor. More... | |
DummyHeuristic (CbcModel &model, OsiTMINLPInterface *si=NULL) | |
Usefull constructor. More... | |
DummyHeuristic (const DummyHeuristic ©) | |
Copy constructor. More... | |
void | setNlp (OsiTMINLPInterface *si) |
Set nlp_. More... | |
virtual int | solution (double &solutionValue, double *betterSolution) |
heuristic method More... | |
virtual int | solution (double &solutionValue, double *betterSolution, OsiCuts &cs) |
virtual CbcHeuristic * | clone () const |
virtual void | resetModel (CbcModel *) |
virtual bool | shouldHeurRun (int whereFrom) |
Private Attributes | |
OsiTMINLPInterface * | nlp_ |
Pointer to the Ipopt interface. More... | |
bool | knowsSolution |
Do I have a solution? More... | |
Definition at line 17 of file BonDummyHeuristic.hpp.
Bonmin::DummyHeuristic::DummyHeuristic | ( | OsiTMINLPInterface * | si = NULL | ) |
Default constructor.
Definition at line 25 of file BonDummyHeuristic.cpp.
Bonmin::DummyHeuristic::DummyHeuristic | ( | CbcModel & | model, |
OsiTMINLPInterface * | si = NULL |
||
) |
|
inline |
Copy constructor.
Definition at line 25 of file BonDummyHeuristic.hpp.
void Bonmin::DummyHeuristic::setNlp | ( | OsiTMINLPInterface * | si | ) |
|
virtual |
heuristic method
Definition at line 38 of file BonDummyHeuristic.cpp.
|
inlinevirtual |
Definition at line 34 of file BonDummyHeuristic.hpp.
|
inlinevirtual |
Definition at line 38 of file BonDummyHeuristic.hpp.
|
inlinevirtual |
Definition at line 42 of file BonDummyHeuristic.hpp.
|
inlinevirtual |
Definition at line 44 of file BonDummyHeuristic.hpp.
|
private |
Pointer to the Ipopt interface.
Definition at line 48 of file BonDummyHeuristic.hpp.
|
private |
Do I have a solution?
Definition at line 50 of file BonDummyHeuristic.hpp.