Bonmin 1.8.9
|
Small class to manipulatee various things in an OsiSolverInterface and restore them. More...
#include <BonOaDecBase.hpp>
Public Member Functions | |
solverManip (OsiSolverInterface *si, bool saveNumRows=true, bool saveBasis=true, bool saveBounds=false, bool saveCutoff=false, bool resolve=true) | |
Constructor. | |
solverManip (const OsiSolverInterface &si) | |
Constructor which clone an other interface. | |
~solverManip () | |
Destructor. | |
void | restore () |
Restore solver. | |
OsiSolverInterface * | si () |
Get pointer to solver interface. | |
void | setObjects (OsiObject **objects, int nObjects) |
Set objects. | |
Small class to manipulatee various things in an OsiSolverInterface and restore them.
The OsiSolverInterface manipulated may already exist or may be cloned from another one.
Definition at line 34 of file BonOaDecBase.hpp.
Bonmin::OaDecompositionBase::solverManip::solverManip | ( | OsiSolverInterface * | si, |
bool | saveNumRows = true, | ||
bool | saveBasis = true, | ||
bool | saveBounds = false, | ||
bool | saveCutoff = false, | ||
bool | resolve = true ) |
Constructor.
Bonmin::OaDecompositionBase::solverManip::solverManip | ( | const OsiSolverInterface & | si | ) |
Constructor which clone an other interface.
Bonmin::OaDecompositionBase::solverManip::~solverManip | ( | ) |
Destructor.
void Bonmin::OaDecompositionBase::solverManip::restore | ( | ) |
Restore solver.
|
inline |
Get pointer to solver interface.
Definition at line 50 of file BonOaDecBase.hpp.
|
inline |
Set objects.
Definition at line 56 of file BonOaDecBase.hpp.