OsiClpDisasterHandler Class Reference

#include <OsiClpSolverInterface.hpp>

Collaboration diagram for OsiClpDisasterHandler:

Collaboration graph
[legend]
List of all members.

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
Constructors, destructor
 OsiClpDisasterHandler (OsiClpSolverInterface *model=NULL)
 Default constructor.
virtual ~OsiClpDisasterHandler ()
 Destructor.
 OsiClpDisasterHandler (const OsiClpDisasterHandler &)
 Default constructor.
OsiClpDisasterHandleroperator= (const OsiClpDisasterHandler &)
 Default constructor.
virtual ClpDisasterHandler * clone () const
 Clone.
Sets/gets
void setOsiModel (OsiClpSolverInterface *model)
 set model.
OsiClpSolverInterfaceosiModel () 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
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
Constructors, destructor
 OsiClpDisasterHandler (OsiClpSolverInterface *model=NULL)
 Default constructor.
virtual ~OsiClpDisasterHandler ()
 Destructor.
 OsiClpDisasterHandler (const OsiClpDisasterHandler &)
 Default constructor.
OsiClpDisasterHandleroperator= (const OsiClpDisasterHandler &)
 Default constructor.
virtual ClpDisasterHandler * clone () const
 Clone.
Sets/gets
void setOsiModel (OsiClpSolverInterface *model)
 set model.
OsiClpSolverInterfaceosiModel () 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.

OsiClpSolverInterfaceosiModel_
 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.
Data members
The data members are protected to allow access for derived classes.

OsiClpSolverInterfaceosiModel_
 Pointer to model.

Detailed Description

Definition at line 1138 of file OsiClpSolverInterface.hpp.


Constructor & Destructor Documentation

OsiClpDisasterHandler::OsiClpDisasterHandler ( OsiClpSolverInterface model = NULL  ) 

Default constructor.

virtual OsiClpDisasterHandler::~OsiClpDisasterHandler (  )  [virtual]

Destructor.

OsiClpDisasterHandler::OsiClpDisasterHandler ( const OsiClpDisasterHandler  ) 

Default constructor.

OsiClpDisasterHandler::OsiClpDisasterHandler ( OsiClpSolverInterface model = NULL  ) 

Default constructor.

virtual OsiClpDisasterHandler::~OsiClpDisasterHandler (  )  [virtual]

Destructor.

OsiClpDisasterHandler::OsiClpDisasterHandler ( const OsiClpDisasterHandler  ) 

Default constructor.


Member Function Documentation

virtual void OsiClpDisasterHandler::intoSimplex (  )  [virtual]

Into simplex.

virtual bool OsiClpDisasterHandler::check (  )  const [virtual]

Checks if disaster.

virtual void OsiClpDisasterHandler::saveInfo (  )  [virtual]

saves information for next attempt

OsiClpDisasterHandler& OsiClpDisasterHandler::operator= ( const OsiClpDisasterHandler  ) 

Default constructor.

virtual ClpDisasterHandler* OsiClpDisasterHandler::clone (  )  const [virtual]

Clone.

void OsiClpDisasterHandler::setOsiModel ( OsiClpSolverInterface model  ) 

set model.

OsiClpSolverInterface* OsiClpDisasterHandler::osiModel (  )  const [inline]

Get model.

Definition at line 1174 of file OsiClpSolverInterface.hpp.

References osiModel_.

void OsiClpDisasterHandler::setWhereFrom ( int  value  )  [inline]

Set where from.

Definition at line 1177 of file OsiClpSolverInterface.hpp.

References whereFrom_.

int OsiClpDisasterHandler::whereFrom (  )  const [inline]

Get where from.

Definition at line 1180 of file OsiClpSolverInterface.hpp.

References whereFrom_.

void OsiClpDisasterHandler::setPhase ( int  value  )  [inline]

Set phase.

Definition at line 1183 of file OsiClpSolverInterface.hpp.

References phase_.

int OsiClpDisasterHandler::phase (  )  const [inline]

Get phase.

Definition at line 1186 of file OsiClpSolverInterface.hpp.

References phase_.

bool OsiClpDisasterHandler::inTrouble (  )  const [inline]

are we in trouble

Definition at line 1189 of file OsiClpSolverInterface.hpp.

References inTrouble_.

virtual void OsiClpDisasterHandler::intoSimplex (  )  [virtual]

Into simplex.

virtual bool OsiClpDisasterHandler::check (  )  const [virtual]

Checks if disaster.

virtual void OsiClpDisasterHandler::saveInfo (  )  [virtual]

saves information for next attempt

OsiClpDisasterHandler& OsiClpDisasterHandler::operator= ( const OsiClpDisasterHandler  ) 

Default constructor.

virtual ClpDisasterHandler* OsiClpDisasterHandler::clone (  )  const [virtual]

Clone.

void OsiClpDisasterHandler::setOsiModel ( OsiClpSolverInterface model  ) 

set model.

OsiClpSolverInterface* OsiClpDisasterHandler::osiModel (  )  const [inline]

Get model.

Definition at line 1174 of file OsiClpSolverInterface.hpp.

References osiModel_.

void OsiClpDisasterHandler::setWhereFrom ( int  value  )  [inline]

Set where from.

Definition at line 1177 of file OsiClpSolverInterface.hpp.

References whereFrom_.

int OsiClpDisasterHandler::whereFrom (  )  const [inline]

Get where from.

Definition at line 1180 of file OsiClpSolverInterface.hpp.

References whereFrom_.

void OsiClpDisasterHandler::setPhase ( int  value  )  [inline]

Set phase.

Definition at line 1183 of file OsiClpSolverInterface.hpp.

References phase_.

int OsiClpDisasterHandler::phase (  )  const [inline]

Get phase.

Definition at line 1186 of file OsiClpSolverInterface.hpp.

References phase_.

bool OsiClpDisasterHandler::inTrouble (  )  const [inline]

are we in trouble

Definition at line 1189 of file OsiClpSolverInterface.hpp.

References inTrouble_.


Member Data Documentation

OsiClpSolverInterface* OsiClpDisasterHandler::osiModel_ [protected]

Pointer to model.

Definition at line 1199 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 1207 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 1215 of file OsiClpSolverInterface.hpp.

Referenced by phase(), and setPhase().

bool OsiClpDisasterHandler::inTrouble_ [protected]

Are we in trouble.

Definition at line 1217 of file OsiClpSolverInterface.hpp.

Referenced by inTrouble().

OsiClpSolverInterface* OsiClpDisasterHandler::osiModel_ [protected]

Pointer to model.

Definition at line 1199 of file OsiClpSolverInterface.hpp.


The documentation for this class was generated from the following files:
Generated on Fri Oct 26 03:05:10 2007 by  doxygen 1.4.7