CoinSolver Class Reference

Implements a solve method for the Coin solvers. More...

#include <OSCoinSolver.h>

Inheritance diagram for CoinSolver:
Inheritance graph
[legend]
Collaboration diagram for CoinSolver:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CoinSolver ()
 The class contructor.
 ~CoinSolver ()
 The class destructor.
virtual void solve () throw (ErrorClass)
 The implementation of the virtual functions.
virtual void buildSolverInstance () throw (ErrorClass)
 The implementation of the virtual functions.
bool setCoinPackedMatrix ()
 Create a CoinPackedMatrix.
std::string getCoinSolverType (std::string osol_)
void dataEchoCheck ()
 Print out problem parameters.

Public Attributes

OsiSolverInterfaceosiSolver
 ossiSolver is the osi solver object -- in this case clp, glpk, cbc, or cplex
OSiLReaderm_osilreader
 m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed

Private Attributes

CoinPackedMatrixm_CoinPackedMatrix
 m_CoinPackedMatrix is a Coin Packed Matrix ojbect
OSrLWriterosrlwriter
 osrlwriter object used to write osrl from and OSResult object

Detailed Description

Implements a solve method for the Coin solvers.

This class implements a solve method for the Coin solvers It reads an OSInstance object and puts into the Coin OSI format

Definition at line 59 of file OSCoinSolver.h.


Constructor & Destructor Documentation

CoinSolver::CoinSolver (  ) 

The class contructor.

CoinSolver::~CoinSolver (  ) 

The class destructor.


Member Function Documentation

void CoinSolver::solve (  )  throw (ErrorClass) [virtual]

The implementation of the virtual functions.

Returns:
void.

Implements DefaultSolver.

void CoinSolver::buildSolverInstance (  )  throw (ErrorClass) [virtual]

The implementation of the virtual functions.

Returns:
void.

Implements DefaultSolver.

bool CoinSolver::setCoinPackedMatrix (  ) 

Create a CoinPackedMatrix.

Returns:
true if a CoinPackedMatrix successfully created.
std::string CoinSolver::getCoinSolverType ( std::string  osol_  ) 
string CoinSolver::dataEchoCheck (  ) 

Print out problem parameters.

Returns:
void

Member Data Documentation

ossiSolver is the osi solver object -- in this case clp, glpk, cbc, or cplex

Definition at line 108 of file OSCoinSolver.h.

m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed

Definition at line 116 of file OSCoinSolver.h.

m_CoinPackedMatrix is a Coin Packed Matrix ojbect

Definition at line 129 of file OSCoinSolver.h.

osrlwriter object used to write osrl from and OSResult object

Definition at line 132 of file OSCoinSolver.h.


The documentation for this class was generated from the following file:

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1