#include <OSmps2osil.h>
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 40 of file OSmps2osil.h.
OSmps2osil::OSmps2osil | ( | std::string | mpsfilename | ) |
the OSmps2osil class constructor
Definition at line 25 of file OSmps2osil.cpp.
References m_CoinPackedMatrix, and m_MpsData.
OSmps2osil::~OSmps2osil | ( | ) |
the OSmps2osil class destructor
Definition at line 32 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, OSNAN, OSInstance::setConstraintNumber(), OSInstance::setInstanceName(), OSInstance::setLinearConstraintCoefficients(), OSInstance::setObjectiveNumber(), OSInstance::setVariableNumber(), and SparseVector::values.
Referenced by 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 59 of file OSmps2osil.h.
Referenced by createOSInstance(), getOSiLFromMps(), main(), solve(), and ~OSmps2osil().
CoinMpsIO* OSmps2osil::m_MpsData [private] |
m_MpsData is a pointer to a CoinMpsIO object
Definition at line 62 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 64 of file OSmps2osil.h.
Referenced by createOSInstance(), OSmps2osil(), and ~OSmps2osil().