OS 2.10.2
Loading...
Searching...
No Matches
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
40{
41public:
43 OSmps2OS( std::string mpsfilename);
44
47
49 void setOsol(std::string osol);
50
52 void setJobID(std::string jobID);
53
61
66
71
77
82 std::string osol;
83
88 std::string jobID;
89private:
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
This file defines the OSInstance class along with its supporting classes.
The in-memory representation of an OSiL instance.
Definition: OSInstance.h:2263
The Option Class.
Definition: OSOption.h:3565
The OSmps2OS Class.
Definition: OSmps2OS.h:40
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(std::string mpsfilename)
the OSmps2OS class constructor
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...
~OSmps2OS()
the OSmps2os class destructor
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
OSInstance * osinstance
osinstance is a pointer to the OSInstance object that gets created from the instance represented in M...
Definition: OSmps2OS.h:65
void setOsol(std::string osol)
set the osol string
void setJobID(std::string jobID)
set the job ID
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
Used to read an OSoL string.
Definition: OSoLReader.h:38