#include <BonFixAndSolveHeuristic.hpp>
Inheritance diagram for Bonmin::FixAndSolveHeuristic:
Public Member Functions | |
FixAndSolveHeuristic () | |
Default constructor. | |
FixAndSolveHeuristic (BonminSetup *setup) | |
Constructor with setup. | |
FixAndSolveHeuristic (const FixAndSolveHeuristic &other) | |
Copy constructor. | |
virtual CbcHeuristic * | clone () const |
Virtual constructor. | |
virtual | ~FixAndSolveHeuristic () |
Destructor. | |
int | solution (double &objectiveValue, double *newSolution) |
Runs heuristic. | |
void | Initialize (Ipopt::SmartPtr< Ipopt::OptionsList > options) |
Initiaize using passed options. | |
Static Public Member Functions | |
static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Register the options common to all local search based heuristics. |
Definition at line 14 of file BonFixAndSolveHeuristic.hpp.
Bonmin::FixAndSolveHeuristic::FixAndSolveHeuristic | ( | ) |
Default constructor.
Definition at line 16 of file BonFixAndSolveHeuristic.cpp.
Referenced by clone().
Bonmin::FixAndSolveHeuristic::FixAndSolveHeuristic | ( | BonminSetup * | setup | ) |
Bonmin::FixAndSolveHeuristic::FixAndSolveHeuristic | ( | const FixAndSolveHeuristic & | other | ) |
Bonmin::FixAndSolveHeuristic::~FixAndSolveHeuristic | ( | ) | [virtual] |
virtual CbcHeuristic* Bonmin::FixAndSolveHeuristic::clone | ( | ) | const [inline, virtual] |
Virtual constructor.
Implements Bonmin::LocalSolverBasedHeuristic.
Definition at line 24 of file BonFixAndSolveHeuristic.hpp.
References FixAndSolveHeuristic().
int Bonmin::FixAndSolveHeuristic::solution | ( | double & | objectiveValue, | |
double * | newSolution | |||
) | [virtual] |
Runs heuristic.
Implements Bonmin::LocalSolverBasedHeuristic.
Definition at line 37 of file BonFixAndSolveHeuristic.cpp.
References Bonmin::OsiTMINLPInterface::clone(), Bonmin::LocalSolverBasedHeuristic::doLocalSearch(), info, Bonmin::BabSetupBase::nonlinearSolver(), and Bonmin::LocalSolverBasedHeuristic::setup_.
void Bonmin::FixAndSolveHeuristic::registerOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static] |
Register the options common to all local search based heuristics.
Reimplemented from Bonmin::LocalSolverBasedHeuristic.
Definition at line 75 of file BonFixAndSolveHeuristic.cpp.
References Bonmin::RegisteredOptions::UndocumentedCategory.
Referenced by Couenne::CouenneSetup::registerAllOptions(), and Bonmin::BonminSetup::registerAllOptions().
void Bonmin::FixAndSolveHeuristic::Initialize | ( | Ipopt::SmartPtr< Ipopt::OptionsList > | options | ) |
Initiaize using passed options.
Reimplemented from Bonmin::LocalSolverBasedHeuristic.
Definition at line 89 of file BonFixAndSolveHeuristic.cpp.