Implements a solve method for the Coin solvers. More...
#include <OSCoinSolver.h>


Public Member Functions | |
| CoinSolver () | |
| The class constructor. | |
| ~CoinSolver () | |
| The class destructor. | |
| virtual void | solve () throw (ErrorClass) |
| The implementation of the corresponding virtual function. | |
| virtual void | buildSolverInstance () throw (ErrorClass) |
| The implementation of the corresponding virtual function. | |
| virtual void | setSolverOptions () throw (ErrorClass) |
| The implementation of the corresponding virtual function. | |
| bool | setCoinPackedMatrix () |
| Create a CoinPackedMatrix. | |
| std::string | getCoinSolverType (std::string osol_) |
| void | dataEchoCheck () |
| Print out problem parameters. | |
| void | writeResult (OsiSolverInterface *solver) |
| void | writeResult (CbcModel *model) |
Public Attributes | |
| OsiSolverInterface * | osiSolver |
| osiSolver is the osi solver object -- in this case clp, glpk, cbc, cplex, symphony or dylp | |
| OSiLReader * | m_osilreader |
| m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed | |
| OSoLReader * | m_osolreader |
| m_osolreader is an OSoLReader object used to create an osoption from an osol string if needed | |
Private Attributes | |
| CoinPackedMatrix * | m_CoinPackedMatrix |
| m_CoinPackedMatrix is a Coin Packed Matrix ojbect | |
| OSrLWriter * | osrlwriter |
| osrlwriter object used to write osrl from an OSResult object | |
| const char ** | cbc_argv |
| when Cbc is the solver, these are the arguments sent to Cbc Solve | |
| int | num_cbc_argv |
| the number of arguments in the argument list to the Cbc Solver | |
| double | cpuTime |
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 37 of file OSCoinSolver.h.
| CoinSolver::CoinSolver | ( | ) |
The class constructor.
Definition at line 79 of file OSCoinSolver.cpp.
| CoinSolver::~CoinSolver | ( | ) |
The class destructor.
Definition at line 92 of file OSCoinSolver.cpp.
| void CoinSolver::solve | ( | ) | throw (ErrorClass) [virtual] |
The implementation of the corresponding virtual function.
Implements DefaultSolver.
Definition at line 698 of file OSCoinSolver.cpp.
| void CoinSolver::buildSolverInstance | ( | ) | throw (ErrorClass) [virtual] |
The implementation of the corresponding virtual function.
Implements DefaultSolver.
Definition at line 125 of file OSCoinSolver.cpp.
| void CoinSolver::setSolverOptions | ( | ) | throw (ErrorClass) [virtual] |
The implementation of the corresponding virtual function.
Implements DefaultSolver.
Definition at line 270 of file OSCoinSolver.cpp.
| bool CoinSolver::setCoinPackedMatrix | ( | ) |
Create a CoinPackedMatrix.
Definition at line 651 of file OSCoinSolver.cpp.
| std::string CoinSolver::getCoinSolverType | ( | std::string | osol_ | ) |
Definition at line 908 of file OSCoinSolver.cpp.
| void CoinSolver::dataEchoCheck | ( | ) |
| void CoinSolver::writeResult | ( | OsiSolverInterface * | solver | ) |
Definition at line 998 of file OSCoinSolver.cpp.
| void CoinSolver::writeResult | ( | CbcModel * | model | ) |
Definition at line 1544 of file OSCoinSolver.cpp.
| OsiSolverInterface* CoinSolver::osiSolver |
osiSolver is the osi solver object -- in this case clp, glpk, cbc, cplex, symphony or dylp
Definition at line 93 of file OSCoinSolver.h.
m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed
Definition at line 101 of file OSCoinSolver.h.
m_osolreader is an OSoLReader object used to create an osoption from an osol string if needed
Definition at line 107 of file OSCoinSolver.h.
CoinPackedMatrix* CoinSolver::m_CoinPackedMatrix [private] |
m_CoinPackedMatrix is a Coin Packed Matrix ojbect
Definition at line 126 of file OSCoinSolver.h.
OSrLWriter* CoinSolver::osrlwriter [private] |
osrlwriter object used to write osrl from an OSResult object
Definition at line 129 of file OSCoinSolver.h.
const char** CoinSolver::cbc_argv [private] |
when Cbc is the solver, these are the arguments sent to Cbc Solve
Definition at line 134 of file OSCoinSolver.h.
int CoinSolver::num_cbc_argv [private] |
the number of arguments in the argument list to the Cbc Solver
Definition at line 138 of file OSCoinSolver.h.
double CoinSolver::cpuTime [private] |
Definition at line 140 of file OSCoinSolver.h.
1.6.1