#include <OSmps2OS.h>
Public Member Functions | |
OSmps2OS (std::string mpsfilename) | |
the OSmps2OS class constructor More... | |
~OSmps2OS () | |
the OSmps2os class destructor More... | |
void | setOsol (std::string osol) |
set the osol string More... | |
void | setJobID (std::string jobID) |
set the job ID More... | |
bool | createOSObjects () |
create an OSInstance from the MPS instance representation and an OSOption in case of nonstandard sections such as SOS More... | |
Public Attributes | |
OSInstance * | osinstance |
osinstance is a pointer to the OSInstance object that gets created from the instance represented in MPS format More... | |
OSOption * | osoption |
osoption is a pointer to an OSOption object that gets created if the MPS file contains nonstandard sections such as SOS More... | |
OSoLReader * | osolreader |
we may need to parse an OSoL file if the MPS file contains an SOS os BASIS section More... | |
std::string | osol |
osol is a string containing the content of the OS option file (it may be empty if no option file was provided by the user). More... | |
std::string | jobID |
jobID is a string containing a jobID that may have been supplied on the command line (it may be empty). More... | |
Private Attributes | |
CoinMpsIO * | m_MpsData |
m_MpsData is a pointer to a CoinMpsIO object More... | |
CoinPackedMatrix * | m_CoinPackedMatrix |
m_CoinPackedMatrix is a pointer to a CoinPackedMatrix object More... | |
int | m_nOfSOS |
Data structures to hold special ordered sets. More... | |
CoinSet ** | m_SOS |
int * | m_quadColumnStart |
Data structures to hold the quadratic objective. More... | |
int * | m_quadColumnIdx |
double * | m_quadElements |
int | m_nOfCones |
Data structures to hold the cone information. More... | |
int * | m_coneStart |
int * | m_coneIdx |
int * | m_coneType |
The OSmps2OS Class.
Definition at line 39 of file OSmps2OS.h.
OSmps2OS::OSmps2OS | ( | std::string | mpsfilename | ) |
the OSmps2OS class constructor
Definition at line 24 of file OSmps2OS.cpp.
OSmps2OS::~OSmps2OS | ( | ) |
the OSmps2os class destructor
Definition at line 145 of file OSmps2OS.cpp.
void OSmps2OS::setOsol | ( | std::string | osol | ) |
set the osol string
void OSmps2OS::setJobID | ( | std::string | jobID | ) |
set the job ID
bool OSmps2OS::createOSObjects | ( | ) |
create an OSInstance from the MPS instance representation and an OSOption in case of nonstandard sections such as SOS
Definition at line 192 of file OSmps2OS.cpp.
OSInstance* OSmps2OS::osinstance |
osinstance is a pointer to the OSInstance object that gets created from the instance represented in MPS format
Definition at line 65 of file OSmps2OS.h.
OSOption* OSmps2OS::osoption |
osoption is a pointer to an OSOption object that gets created if the MPS file contains nonstandard sections such as SOS
Definition at line 70 of file OSmps2OS.h.
OSoLReader* OSmps2OS::osolreader |
we may need to parse an OSoL file if the MPS file contains an SOS os BASIS section
Definition at line 76 of file OSmps2OS.h.
std::string OSmps2OS::osol |
osol is a string containing the content of the OS option file (it may be empty if no option file was provided by the user).
If osoption is NULL, the option information is found in osol.
Definition at line 82 of file OSmps2OS.h.
std::string OSmps2OS::jobID |
jobID is a string containing a jobID that may have been supplied on the command line (it may be empty).
If osoption is not NULL, the jobID has been duplicated to osoption.
Definition at line 88 of file OSmps2OS.h.
|
private |
m_MpsData is a pointer to a CoinMpsIO object
Definition at line 91 of file OSmps2OS.h.
|
private |
m_CoinPackedMatrix is a pointer to a CoinPackedMatrix object
Definition at line 94 of file OSmps2OS.h.
|
private |
Data structures to hold special ordered sets.
Definition at line 97 of file OSmps2OS.h.
|
private |
Definition at line 98 of file OSmps2OS.h.
|
private |
Data structures to hold the quadratic objective.
Definition at line 101 of file OSmps2OS.h.
|
private |
Definition at line 102 of file OSmps2OS.h.
|
private |
Definition at line 103 of file OSmps2OS.h.
|
private |
Data structures to hold the cone information.
Definition at line 106 of file OSmps2OS.h.
|
private |
Definition at line 107 of file OSmps2OS.h.
|
private |
Definition at line 108 of file OSmps2OS.h.
|
private |
Definition at line 109 of file OSmps2OS.h.