My Project
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
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;
89private:
91 CoinMpsIO *m_MpsData;
92
94 CoinPackedMatrix *m_CoinPackedMatrix;
95
98 CoinSet ** m_SOS;
99
104
110};
111#endif
112
The in-memory representation of an OSiL instance..
The Option Class.
Definition OSOption.h:3565
The OSmps2OS Class.
Definition OSmps2OS.h:40
int * m_quadColumnIdx
Definition OSmps2OS.h:102
CoinPackedMatrix * m_CoinPackedMatrix
m_CoinPackedMatrix is a pointer to a CoinPackedMatrix object
Definition OSmps2OS.h:94
int * m_coneIdx
Definition OSmps2OS.h:108
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
Definition OSmps2OS.cpp:24
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...
Definition OSmps2OS.cpp:192
~OSmps2OS()
the OSmps2os class destructor
Definition OSmps2OS.cpp:145
CoinSet ** m_SOS
Definition OSmps2OS.h:98
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
int * m_coneType
Definition OSmps2OS.h:109
void setOsol(std::string osol)
set the osol string
void setJobID(std::string jobID)
set the job ID
int * m_quadColumnStart
Data structures to hold the quadratic objective.
Definition OSmps2OS.h:101
int m_nOfSOS
Data structures to hold special ordered sets.
Definition OSmps2OS.h:97
CoinMpsIO * m_MpsData
m_MpsData is a pointer to a CoinMpsIO object
Definition OSmps2OS.h:91
int * m_coneStart
Definition OSmps2OS.h:107
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
int m_nOfCones
Data structures to hold the cone information.
Definition OSmps2OS.h:106
double * m_quadElements
Definition OSmps2OS.h:103
Used to read an OSoL string.
Definition OSoLReader.h:38