#include <OsiClpSolverInterface.hpp>
Inheritance diagram for OsiClpDisasterHandler:


Public Member Functions | |
Virtual methods that the derived classe should provide. | |
| virtual void | intoSimplex () |
| Into simplex. | |
| virtual bool | check () const |
| Checks if disaster. | |
| virtual void | saveInfo () |
| saves information for next attempt | |
| virtual int | typeOfDisaster () |
| Type of disaster 0 can fix, 1 abort. | |
Constructors, destructor | |
| OsiClpDisasterHandler (OsiClpSolverInterface *model=NULL) | |
| Default constructor. | |
| virtual | ~OsiClpDisasterHandler () |
| Destructor. | |
| OsiClpDisasterHandler (const OsiClpDisasterHandler &) | |
| Default constructor. | |
| OsiClpDisasterHandler & | operator= (const OsiClpDisasterHandler &) |
| Default constructor. | |
| virtual ClpDisasterHandler * | clone () const |
| Clone. | |
Sets/gets | |
| void | setOsiModel (OsiClpSolverInterface *model) |
| set model. | |
| OsiClpSolverInterface * | osiModel () const |
| Get model. | |
| void | setWhereFrom (int value) |
| Set where from. | |
| int | whereFrom () const |
| Get where from. | |
| void | setPhase (int value) |
| Set phase. | |
| int | phase () const |
| Get phase. | |
| bool | inTrouble () const |
| are we in trouble | |
Protected Attributes | |
Data members | |
The data members are protected to allow access for derived classes. | |
| OsiClpSolverInterface * | osiModel_ |
| Pointer to model. | |
| int | whereFrom_ |
| Where from 0 dual (resolve) 1 crunch 2 primal (resolve) 4 dual (initialSolve) 6 primal (initialSolve). | |
| int | phase_ |
| phase 0 initial 1 trying continuing with back in and maybe different perturb 2 trying continuing with back in and different scaling 3 trying dual from all slack 4 trying primal from previous stored basis | |
| bool | inTrouble_ |
| Are we in trouble. | |
Definition at line 1263 of file OsiClpSolverInterface.hpp.
| OsiClpDisasterHandler::OsiClpDisasterHandler | ( | OsiClpSolverInterface * | model = NULL |
) |
Default constructor.
| virtual OsiClpDisasterHandler::~OsiClpDisasterHandler | ( | ) | [virtual] |
Destructor.
| OsiClpDisasterHandler::OsiClpDisasterHandler | ( | const OsiClpDisasterHandler & | ) |
Default constructor.
| virtual void OsiClpDisasterHandler::intoSimplex | ( | ) | [virtual] |
| virtual bool OsiClpDisasterHandler::check | ( | ) | const [virtual] |
| virtual void OsiClpDisasterHandler::saveInfo | ( | ) | [virtual] |
| virtual int OsiClpDisasterHandler::typeOfDisaster | ( | ) | [virtual] |
| OsiClpDisasterHandler& OsiClpDisasterHandler::operator= | ( | const OsiClpDisasterHandler & | ) |
Default constructor.
| virtual ClpDisasterHandler* OsiClpDisasterHandler::clone | ( | ) | const [virtual] |
| void OsiClpDisasterHandler::setOsiModel | ( | OsiClpSolverInterface * | model | ) |
set model.
| OsiClpSolverInterface* OsiClpDisasterHandler::osiModel | ( | ) | const [inline] |
| void OsiClpDisasterHandler::setWhereFrom | ( | int | value | ) | [inline] |
| int OsiClpDisasterHandler::whereFrom | ( | ) | const [inline] |
| void OsiClpDisasterHandler::setPhase | ( | int | value | ) | [inline] |
| int OsiClpDisasterHandler::phase | ( | ) | const [inline] |
| bool OsiClpDisasterHandler::inTrouble | ( | ) | const [inline] |
OsiClpSolverInterface* OsiClpDisasterHandler::osiModel_ [protected] |
Pointer to model.
Definition at line 1327 of file OsiClpSolverInterface.hpp.
Referenced by osiModel().
int OsiClpDisasterHandler::whereFrom_ [protected] |
Where from 0 dual (resolve) 1 crunch 2 primal (resolve) 4 dual (initialSolve) 6 primal (initialSolve).
Definition at line 1335 of file OsiClpSolverInterface.hpp.
Referenced by setWhereFrom(), and whereFrom().
int OsiClpDisasterHandler::phase_ [protected] |
phase 0 initial 1 trying continuing with back in and maybe different perturb 2 trying continuing with back in and different scaling 3 trying dual from all slack 4 trying primal from previous stored basis
Definition at line 1343 of file OsiClpSolverInterface.hpp.
Referenced by phase(), and setPhase().
bool OsiClpDisasterHandler::inTrouble_ [protected] |
Are we in trouble.
Definition at line 1345 of file OsiClpSolverInterface.hpp.
Referenced by inTrouble().
1.4.7