|
| NlpSolveHeuristic () |
| Default constructor.
|
|
| NlpSolveHeuristic (CbcModel &mip, Bonmin::OsiTMINLPInterface &nlp, bool cloneNlp=false, CouenneProblem *couenne=NULL) |
| Constructor with model and Ipopt problems.
|
|
| NlpSolveHeuristic (const NlpSolveHeuristic &other) |
| Copy constructor.
|
|
virtual | ~NlpSolveHeuristic () |
| Destructor.
|
|
virtual CbcHeuristic * | clone () const |
| Clone.
|
|
NlpSolveHeuristic & | operator= (const NlpSolveHeuristic &rhs) |
| Assignment operator.
|
|
void | setNlp (Bonmin::OsiTMINLPInterface &nlp, bool cloneNlp=true) |
| Set the nlp solver.
|
|
void | setCouenneProblem (CouenneProblem *) |
| set the couenne problem to use.
|
|
virtual void | resetModel (CbcModel *model) |
| Does nothing.
|
|
virtual int | solution (double &objectiveValue, double *newSolution) |
| Run heuristic, return 1 if a better solution than the one passed is found and 0 otherwise.
|
|
void | setMaxNlpInf (double value) |
| set maxNlpInf.
|
|
void | setNumberSolvePerLevel (int value) |
| set number of nlp's solved for each given level of the tree
|
|
| CbcHeuristic () |
|
| CbcHeuristic (CbcModel &model) |
|
| CbcHeuristic (const CbcHeuristic &) |
|
virtual | ~CbcHeuristic () |
|
CbcHeuristic & | operator= (const CbcHeuristic &rhs) |
|
virtual void | setModel (CbcModel *model) |
|
virtual int | solution2 (double &, double *, OsiCuts &) |
|
virtual void | validate () |
|
void | setWhen (int value) |
|
int | when () const |
|
void | setNumberNodes (int value) |
|
int | numberNodes () const |
|
void | setSwitches (int value) |
|
int | switches () const |
|
bool | exitNow (double bestObjective) const |
|
void | setFeasibilityPumpOptions (int value) |
|
int | feasibilityPumpOptions () const |
|
void | setModelOnly (CbcModel *model) |
|
void | setFractionSmall (double value) |
|
double | fractionSmall () const |
|
int | numberSolutionsFound () const |
|
void | incrementNumberSolutionsFound () |
|
int | smallBranchAndBound (OsiSolverInterface *solver, int numberNodes, double *newSolution, double &newSolutionValue, double cutoff, std::string name) const |
|
virtual void | generateCpp (FILE *) |
|
void | generateCpp (FILE *fp, const char *heuristic) |
|
virtual bool | canDealWithOdd () const |
|
const char * | heuristicName () const |
|
void | setHeuristicName (const char *name) |
|
void | setSeed (int value) |
|
int | getSeed () const |
|
void | setDecayFactor (double value) |
|
void | setInputSolution (const double *solution, double objValue) |
|
void | setWhereFrom (int value) |
|
int | whereFrom () const |
|
void | setShallowDepth (int value) |
|
void | setHowOftenShallow (int value) |
|
void | setMinDistanceToRun (int value) |
|
virtual bool | shouldHeurRun (int whereFrom) |
|
bool | shouldHeurRun_randomChoice () |
|
void | debugNodes () |
|
void | printDistanceToNodes () |
|
int | numRuns () const |
|
int | numCouldRun () const |
|
bool | isHeuristicInteger (const OsiSolverInterface *solver, int iColumn) |
|
OsiSolverInterface * | cloneBut (int type) |
|
Definition at line 28 of file BonNlpHeuristic.hpp.