#include <BonLocalSolverBasedHeuristic.hpp>
|
static void | changeIfNotSet (Ipopt::SmartPtr< Ipopt::OptionsList > options, std::string prefix, const std::string &option, const std::string &value) |
|
static void | changeIfNotSet (Ipopt::SmartPtr< Ipopt::OptionsList > options, std::string prefix, const std::string &option, const double &value) |
|
static void | changeIfNotSet (Ipopt::SmartPtr< Ipopt::OptionsList > options, std::string prefix, const std::string &option, const int &value) |
|
Bonmin::LocalSolverBasedHeuristic::LocalSolverBasedHeuristic |
( |
| ) |
|
Bonmin::LocalSolverBasedHeuristic::LocalSolverBasedHeuristic |
( |
BonminSetup * |
setup | ) |
|
Bonmin::LocalSolverBasedHeuristic::~LocalSolverBasedHeuristic |
( |
| ) |
|
virtual CbcHeuristic* Bonmin::LocalSolverBasedHeuristic::clone |
( |
| ) |
const |
|
pure virtual |
virtual void Bonmin::LocalSolverBasedHeuristic::resetModel |
( |
CbcModel * |
model | ) |
|
|
inlinevirtual |
void Bonmin::LocalSolverBasedHeuristic::setSetup |
( |
BonminSetup * |
setup | ) |
|
|
inline |
virtual int Bonmin::LocalSolverBasedHeuristic::solution |
( |
double & |
objectiveValue, |
|
|
double * |
newSolution |
|
) |
| |
|
pure virtual |
virtual int Bonmin::LocalSolverBasedHeuristic::solution |
( |
double & |
objectiveValue, |
|
|
double * |
newSolution, |
|
|
OsiCuts & |
cs |
|
) |
| |
|
inlinevirtual |
int Bonmin::LocalSolverBasedHeuristic::doLocalSearch |
( |
OsiTMINLPInterface * |
solver, |
|
|
double * |
solution, |
|
|
double & |
solValue, |
|
|
double |
cutoff, |
|
|
std::string |
prefix = "local_solver." |
|
) |
| const |
Do a local search based on setup and passed solver.
Register the options common to all local search based heuristics.
virtual void Bonmin::LocalSolverBasedHeuristic::setupDefaults |
( |
Ipopt::SmartPtr< Ipopt::OptionsList > |
options | ) |
|
|
virtual |
void Bonmin::LocalSolverBasedHeuristic::Initialize |
( |
Ipopt::SmartPtr< Ipopt::OptionsList > |
options | ) |
|
Initiaize using passed options.
Referenced by setSetup().
static void Bonmin::LocalSolverBasedHeuristic::changeIfNotSet |
( |
Ipopt::SmartPtr< Ipopt::OptionsList > |
options, |
|
|
std::string |
prefix, |
|
|
const std::string & |
option, |
|
|
const std::string & |
value |
|
) |
| |
|
staticprotected |
static void Bonmin::LocalSolverBasedHeuristic::changeIfNotSet |
( |
Ipopt::SmartPtr< Ipopt::OptionsList > |
options, |
|
|
std::string |
prefix, |
|
|
const std::string & |
option, |
|
|
const double & |
value |
|
) |
| |
|
staticprotected |
static void Bonmin::LocalSolverBasedHeuristic::changeIfNotSet |
( |
Ipopt::SmartPtr< Ipopt::OptionsList > |
options, |
|
|
std::string |
prefix, |
|
|
const std::string & |
option, |
|
|
const int & |
value |
|
) |
| |
|
staticprotected |
double Bonmin::LocalSolverBasedHeuristic::time_limit_ |
|
private |
int Bonmin::LocalSolverBasedHeuristic::max_number_nodes_ |
|
private |
int Bonmin::LocalSolverBasedHeuristic::max_number_solutions_ |
|
private |
The documentation for this class was generated from the following file: