OSmps2OS Class Reference

The OSmps2OS Class. More...

#include <OSmps2OS.h>

Collaboration diagram for OSmps2OS:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OSmps2OS (std::string mpsfilename)
 the OSmps2OS class constructor
 ~OSmps2OS ()
 the OSmps2os class destructor
void setOsol (std::string osol)
 set the osol string
void setJobID (std::string jobID)
 set the job ID
bool createOSObjects ()
 create an OSInstance from the MPS instance representation and an OSOption in case of nonstandard sections such as SOS

Public Attributes

OSInstanceosinstance
 osinstance is a pointer to the OSInstance object that gets created from the instance represented in MPS format
OSOptionosoption
 osoption is a pointer to an OSOption object that gets created if the MPS file contains nonstandard sections such as SOS
OSoLReaderosolreader
 we may need to parse an OSoL file if the MPS file contains an SOS os BASIS section
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).
std::string jobID
 jobID is a string containing a jobID that may have been supplied on the command line (it may be empty).

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
int m_nOfSOS
 Data structures to hold special ordered sets.
CoinSet ** m_SOS
int * m_quadColumnStart
 Data structures to hold the quadratic objective.
int * m_quadColumnIdx
double * m_quadElements
int m_nOfCones
 Data structures to hold the cone information.
int * m_coneStart
int * m_coneIdx
int * m_coneType

Detailed Description

The OSmps2OS Class.

Author:
Robert Fourer, Jun Ma, Kipp Martin
Remarks:
the OSmps2osil class is used for reading an instance in MPS format and creating an OSInstance object in OSiL format and possibly an OSOption object in OSoL format (if the MPS file contains nonstandard sections such as SOS)

Definition at line 39 of file OSmps2OS.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Returns:
whether the objects are created successfully.

Definition at line 192 of file OSmps2OS.cpp.


Member Data Documentation

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 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.

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.

CoinMpsIO* OSmps2OS::m_MpsData [private]

m_MpsData is a pointer to a CoinMpsIO object

Definition at line 91 of file OSmps2OS.h.

CoinPackedMatrix* OSmps2OS::m_CoinPackedMatrix [private]

m_CoinPackedMatrix is a pointer to a CoinPackedMatrix object

Definition at line 94 of file OSmps2OS.h.

int OSmps2OS::m_nOfSOS [private]

Data structures to hold special ordered sets.

Definition at line 97 of file OSmps2OS.h.

CoinSet** OSmps2OS::m_SOS [private]

Definition at line 98 of file OSmps2OS.h.

Data structures to hold the quadratic objective.

Definition at line 101 of file OSmps2OS.h.

int* OSmps2OS::m_quadColumnIdx [private]

Definition at line 102 of file OSmps2OS.h.

double* OSmps2OS::m_quadElements [private]

Definition at line 103 of file OSmps2OS.h.

int OSmps2OS::m_nOfCones [private]

Data structures to hold the cone information.

Definition at line 106 of file OSmps2OS.h.

int* OSmps2OS::m_coneStart [private]

Definition at line 107 of file OSmps2OS.h.

int* OSmps2OS::m_coneIdx [private]

Definition at line 108 of file OSmps2OS.h.

int* OSmps2OS::m_coneType [private]

Definition at line 109 of file OSmps2OS.h.


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

Generated on 5 Jul 2015 by  doxygen 1.6.1