OS  2.10.2
OSmps2OS.h
Go to the documentation of this file.
1 /* $Id: OSmps2OS.h 4562 2013-01-02 12:31:12Z Gassmann $ */
16 #ifndef OSMPS2OS_H
17 #define OSMPS2OS_H
18 
19 
20 #include <CoinMpsIO.hpp>
21 #include <CoinPackedMatrix.hpp>
22 #include <string>
23 #include "OSInstance.h"
24 #include "OSOption.h"
25 #include "OSoLReader.h"
26 
27 
39 class OSmps2OS
40 {
41 public:
43  OSmps2OS( std::string mpsfilename);
44 
46  ~OSmps2OS();
47 
49  void setOsol(std::string osol);
50 
52  void setJobID(std::string jobID);
53 
60  bool createOSObjects();
61 
66 
71 
77 
82  std::string osol;
83 
88  std::string jobID;
89 private:
91  CoinMpsIO *m_MpsData;
92 
94  CoinPackedMatrix *m_CoinPackedMatrix;
95 
97  int m_nOfSOS;
98  CoinSet ** m_SOS;
99 
101  int * m_quadColumnStart;
102  int * m_quadColumnIdx;
103  double * m_quadElements;
104 
106  int m_nOfCones;
107  int * m_coneStart;
108  int * m_coneIdx;
109  int * m_coneType;
110 };
111 #endif
112 
OSmps2OS::~OSmps2OS
~OSmps2OS()
the OSmps2os class destructor
OSmps2OS::setOsol
void setOsol(std::string osol)
set the osol string
OSoLReader
Used to read an OSoL string.
Definition: OSoLReader.h:37
OSInstance
The in-memory representation of an OSiL instance..
Definition: OSInstance.h:2262
OSmps2OS::OSmps2OS
OSmps2OS(std::string mpsfilename)
the OSmps2OS class constructor
OSInstance.h
This file defines the OSInstance class along with its supporting classes.
OSOption.h
OSmps2OS::jobID
std::string jobID
jobID is a string containing a jobID that may have been supplied on the command line (it may be empty...
Definition: OSmps2OS.h:88
OSmps2OS::osolreader
OSoLReader * osolreader
we may need to parse an OSoL file if the MPS file contains an SOS os BASIS section
Definition: OSmps2OS.h:76
OSmps2OS::osol
std::string osol
osol is a string containing the content of the OS option file (it may be empty if no option file was ...
Definition: OSmps2OS.h:82
OSoLReader.h
OSmps2OS::osinstance
OSInstance * osinstance
osinstance is a pointer to the OSInstance object that gets created from the instance represented in M...
Definition: OSmps2OS.h:65
CoinSet
OSmps2OS::osoption
OSOption * osoption
osoption is a pointer to an OSOption object that gets created if the MPS file contains nonstandard se...
Definition: OSmps2OS.h:70
OSOption
The Option Class.
Definition: OSOption.h:3564
CoinPackedMatrix
CoinPackedMatrix.hpp
OSmps2OS
The OSmps2OS Class.
Definition: OSmps2OS.h:39
OSmps2OS::createOSObjects
bool createOSObjects()
create an OSInstance from the MPS instance representation and an OSOption in case of nonstandard sect...
OSmps2OS::setJobID
void setJobID(std::string jobID)
set the job ID
CoinMpsIO.hpp