|
Cbc
2.10.5
|
#include <OsiClpSolverInterface.hpp>
Inheritance diagram for OsiClpDisasterHandler:
Collaboration diagram for OsiClpDisasterHandler:Public Member Functions | |
Virtual methods that the derived classe should provide. | |
| virtual void | intoSimplex () |
| Into simplex. More... | |
| virtual bool | check () const |
| Checks if disaster. More... | |
| virtual void | saveInfo () |
| saves information for next attempt More... | |
| virtual int | typeOfDisaster () |
| Type of disaster 0 can fix, 1 abort. More... | |
Constructors, destructor | |
| OsiClpDisasterHandler (OsiClpSolverInterface *model=NULL) | |
| Default constructor. More... | |
| virtual | ~OsiClpDisasterHandler () |
| Destructor. More... | |
| OsiClpDisasterHandler (const OsiClpDisasterHandler &) | |
| OsiClpDisasterHandler & | operator= (const OsiClpDisasterHandler &) |
| virtual ClpDisasterHandler * | clone () const |
| Clone. More... | |
Sets/gets | |
| void | setOsiModel (OsiClpSolverInterface *model) |
| set model. More... | |
| OsiClpSolverInterface * | osiModel () const |
| Get model. More... | |
| void | setWhereFrom (int value) |
| Set where from. More... | |
| int | whereFrom () const |
| Get where from. More... | |
| void | setPhase (int value) |
| Set phase. More... | |
| int | phase () const |
| Get phase. More... | |
| bool | inTrouble () const |
| are we in trouble More... | |
Public Member Functions inherited from ClpDisasterHandler | |
| ClpDisasterHandler (ClpSimplex *model=NULL) | |
| Default constructor. More... | |
| virtual | ~ClpDisasterHandler () |
| Destructor. More... | |
| ClpDisasterHandler (const ClpDisasterHandler &) | |
| ClpDisasterHandler & | operator= (const ClpDisasterHandler &) |
| void | setSimplex (ClpSimplex *model) |
| set model. More... | |
| ClpSimplex * | simplex () const |
| Get model. More... | |
Protected Attributes | |
Data members | |
The data members are protected to allow access for derived classes. | |
| OsiClpSolverInterface * | osiModel_ |
| Pointer to model. More... | |
| int | whereFrom_ |
| Where from 0 dual (resolve) 1 crunch 2 primal (resolve) 4 dual (initialSolve) 6 primal (initialSolve) More... | |
| 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 More... | |
| bool | inTrouble_ |
| Are we in trouble. More... | |
Protected Attributes inherited from ClpDisasterHandler | |
| ClpSimplex * | model_ |
| Pointer to simplex. More... | |
Definition at line 1504 of file OsiClpSolverInterface.hpp.
| OsiClpDisasterHandler::OsiClpDisasterHandler | ( | OsiClpSolverInterface * | model = NULL | ) |
Default constructor.
|
virtual |
Destructor.
| OsiClpDisasterHandler::OsiClpDisasterHandler | ( | const OsiClpDisasterHandler & | ) |
|
virtual |
Into simplex.
Implements ClpDisasterHandler.
|
virtual |
Checks if disaster.
Implements ClpDisasterHandler.
|
virtual |
saves information for next attempt
Implements ClpDisasterHandler.
|
virtual |
Type of disaster 0 can fix, 1 abort.
Reimplemented from ClpDisasterHandler.
| OsiClpDisasterHandler& OsiClpDisasterHandler::operator= | ( | const OsiClpDisasterHandler & | ) |
|
virtual |
Clone.
Implements ClpDisasterHandler.
| void OsiClpDisasterHandler::setOsiModel | ( | OsiClpSolverInterface * | model | ) |
set model.
|
inline |
Get model.
Definition at line 1541 of file OsiClpSolverInterface.hpp.
|
inline |
Set where from.
Definition at line 1546 of file OsiClpSolverInterface.hpp.
|
inline |
Get where from.
Definition at line 1551 of file OsiClpSolverInterface.hpp.
|
inline |
Set phase.
Definition at line 1556 of file OsiClpSolverInterface.hpp.
|
inline |
Get phase.
Definition at line 1561 of file OsiClpSolverInterface.hpp.
| bool OsiClpDisasterHandler::inTrouble | ( | ) | const |
are we in trouble
|
protected |
Pointer to model.
Definition at line 1575 of file OsiClpSolverInterface.hpp.
|
protected |
Where from 0 dual (resolve) 1 crunch 2 primal (resolve) 4 dual (initialSolve) 6 primal (initialSolve)
Definition at line 1583 of file OsiClpSolverInterface.hpp.
|
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 1591 of file OsiClpSolverInterface.hpp.
|
protected |
Are we in trouble.
Definition at line 1593 of file OsiClpSolverInterface.hpp.
1.8.5