Bonmin
1.7
|
#include <BonMilpRounding.hpp>
Public Member Functions | |
MilpRounding (BonminSetup *setup) | |
Constructor with setup. | |
MilpRounding (const MilpRounding ©) | |
Copy constructor. | |
~MilpRounding () | |
Destructor. | |
MilpRounding & | operator= (const MilpRounding &rhs) |
Assignment operator. | |
virtual CbcHeuristic * | clone () const |
Clone. | |
void | Initialize (BonminSetup *setup) |
Initialize method. | |
virtual void | resetModel (CbcModel *model) |
Resets stuff if model changes. | |
virtual void | setSetup (BonminSetup *setup) |
Change setup used for heuristic. | |
virtual int | solution (double &solutionValue, double *betterSolution) |
Performs heuristic. | |
Static Public Member Functions | |
static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Protected Attributes | |
BonminSetup * | setup_ |
Setup to use for local searches (will make copies). | |
Private Attributes | |
int | howOften_ |
How often to do (code can change) | |
SubMipSolver * | mip_ |
A subsolver for MIP. | |
OsiCuts | noGoods |
Definition at line 21 of file BonMilpRounding.hpp.
Bonmin::MilpRounding::MilpRounding | ( | BonminSetup * | setup | ) |
Constructor with setup.
Referenced by clone().
Bonmin::MilpRounding::MilpRounding | ( | const MilpRounding & | copy | ) |
Copy constructor.
Bonmin::MilpRounding::~MilpRounding | ( | ) |
Destructor.
MilpRounding& Bonmin::MilpRounding::operator= | ( | const MilpRounding & | rhs | ) |
Assignment operator.
virtual CbcHeuristic* Bonmin::MilpRounding::clone | ( | ) | const [inline, virtual] |
void Bonmin::MilpRounding::Initialize | ( | BonminSetup * | setup | ) |
Initialize method.
virtual void Bonmin::MilpRounding::resetModel | ( | CbcModel * | model | ) | [inline, virtual] |
Resets stuff if model changes.
Definition at line 46 of file BonMilpRounding.hpp.
virtual void Bonmin::MilpRounding::setSetup | ( | BonminSetup * | setup | ) | [inline, virtual] |
Change setup used for heuristic.
Definition at line 51 of file BonMilpRounding.hpp.
References setup_.
virtual int Bonmin::MilpRounding::solution | ( | double & | solutionValue, |
double * | betterSolution | ||
) | [virtual] |
Performs heuristic.
static void Bonmin::MilpRounding::registerOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static] |
BonminSetup* Bonmin::MilpRounding::setup_ [protected] |
Setup to use for local searches (will make copies).
Definition at line 63 of file BonMilpRounding.hpp.
Referenced by setSetup().
int Bonmin::MilpRounding::howOften_ [private] |
How often to do (code can change)
Definition at line 67 of file BonMilpRounding.hpp.
SubMipSolver* Bonmin::MilpRounding::mip_ [private] |
A subsolver for MIP.
Definition at line 69 of file BonMilpRounding.hpp.
OsiCuts Bonmin::MilpRounding::noGoods [private] |
Definition at line 71 of file BonMilpRounding.hpp.