OS  2.9.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 
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
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
The Option Class.
Definition: OSOption.h:3564
The OSmps2OS Class.
Definition: OSmps2OS.h:39
OSOption * osoption
osoption is a pointer to an OSOption object that gets created if the MPS file contains nonstandard se...
Definition: OSmps2OS.h:70
bool createOSObjects()
create an OSInstance from the MPS instance representation and an OSOption in case of nonstandard sect...
OSInstance * osinstance
osinstance is a pointer to the OSInstance object that gets created from the instance represented in M...
Definition: OSmps2OS.h:65
The in-memory representation of an OSiL instance.
Definition: OSInstance.h:2241
Used to read an OSoL string.
Definition: OSoLReader.h:37
OSmps2OS(std::string mpsfilename)
the OSmps2OS class constructor
This file defines the OSInstance class along with its supporting classes.
~OSmps2OS()
the OSmps2os class destructor
void setJobID(std::string jobID)
set the job ID
OSoLReader * osolreader
we may need to parse an OSoL file if the MPS file contains an SOS os BASIS section ...
Definition: OSmps2OS.h:76
void setOsol(std::string osol)
set the osol string