#include <OSmps2osil.h>
Collaboration diagram for OSmps2osil:
Public Member Functions | |
OSmps2osil (std::string mpsfilename) | |
the OSmps2osil class constructor | |
~OSmps2osil () | |
the OSmps2osil class destructor | |
bool | createOSInstance () |
create an OSInstance from the MPS instance representation | |
Public Attributes | |
OSInstance * | osinstance |
osinstance is a pointer to the OSInstance object that gets created from the instance represented in MPS format | |
Private Attributes | |
CoinMpsIO * | m_MpsData |
m_MpsData is a pointer to a CoinMpsIO object | |
CoinPackedMatrix * | m_CoinPackedMatrix |
m_CoinPackedMatrix is a pointer to a CoinPackedMatrix object |
Definition at line 39 of file OSmps2osil.h.
OSmps2osil::OSmps2osil | ( | std::string | mpsfilename | ) |
the OSmps2osil class constructor
Definition at line 24 of file OSmps2osil.cpp.
References m_CoinPackedMatrix, and m_MpsData.
OSmps2osil::~OSmps2osil | ( | ) |
the OSmps2osil class destructor
Definition at line 31 of file OSmps2osil.cpp.
References LinearConstraintCoefficients::colIdx, IntVector::el, DoubleVector::el, OSInstance::instanceData, InstanceData::linearConstraintCoefficients, m_CoinPackedMatrix, m_MpsData, osinstance, LinearConstraintCoefficients::rowIdx, LinearConstraintCoefficients::start, and LinearConstraintCoefficients::value.
bool OSmps2osil::createOSInstance | ( | ) |
create an OSInstance from the MPS instance representation
Definition at line 51 of file OSmps2osil.cpp.
References OSInstance::addConstraint(), OSInstance::addObjective(), OSInstance::addVariable(), SparseVector::indexes, m_CoinPackedMatrix, m_MpsData, osinstance, OSInstance::setConstraintNumber(), OSInstance::setInstanceName(), OSInstance::setLinearConstraintCoefficients(), OSInstance::setObjectiveNumber(), OSInstance::setVariableNumber(), and SparseVector::values.
Referenced by doPrintModel(), doPrintRow(), getOSiLFromMps(), main(), and solve().
osinstance is a pointer to the OSInstance object that gets created from the instance represented in MPS format
Definition at line 58 of file OSmps2osil.h.
Referenced by createOSInstance(), doPrintModel(), doPrintRow(), getOSiLFromMps(), main(), solve(), and ~OSmps2osil().
CoinMpsIO* OSmps2osil::m_MpsData [private] |
m_MpsData is a pointer to a CoinMpsIO object
Definition at line 61 of file OSmps2osil.h.
Referenced by createOSInstance(), OSmps2osil(), and ~OSmps2osil().
CoinPackedMatrix* OSmps2osil::m_CoinPackedMatrix [private] |
m_CoinPackedMatrix is a pointer to a CoinPackedMatrix object
Definition at line 63 of file OSmps2osil.h.
Referenced by createOSInstance(), OSmps2osil(), and ~OSmps2osil().