OS  2.9.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
OSmps2OS Class Reference

The OSmps2OS Class. More...

#include <OSmps2OS.h>

+ Collaboration diagram for OSmps2OS:

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

OSInstanceosinstance
 osinstance is a pointer to the OSInstance object that gets created from the instance represented in MPS format More...
 
OSOptionosoption
 osoption is a pointer to an OSOption object that gets created if the MPS file contains nonstandard sections such as SOS More...
 
OSoLReaderosolreader
 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...
 

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

OSmps2OS::~OSmps2OS ( )

the OSmps2os class destructor

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.

Member Data Documentation

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.


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