00001 /* $Id: OSmps2OS.h 4562 2013-01-02 12:31:12Z Gassmann $ */ 00016 #ifndef OSMPS2OS_H 00017 #define OSMPS2OS_H 00018 00019 00020 #include <CoinMpsIO.hpp> 00021 #include <CoinPackedMatrix.hpp> 00022 #include <string> 00023 #include "OSInstance.h" 00024 #include "OSOption.h" 00025 #include "OSoLReader.h" 00026 00027 00039 class OSmps2OS 00040 { 00041 public: 00043 OSmps2OS( std::string mpsfilename); 00044 00046 ~OSmps2OS(); 00047 00049 void setOsol(std::string osol); 00050 00052 void setJobID(std::string jobID); 00053 00060 bool createOSObjects(); 00061 00065 OSInstance *osinstance; 00066 00070 OSOption *osoption; 00071 00076 OSoLReader *osolreader; 00077 00082 std::string osol; 00083 00088 std::string jobID; 00089 private: 00091 CoinMpsIO *m_MpsData; 00092 00094 CoinPackedMatrix *m_CoinPackedMatrix; 00095 00097 int m_nOfSOS; 00098 CoinSet ** m_SOS; 00099 00101 int * m_quadColumnStart; 00102 int * m_quadColumnIdx; 00103 double * m_quadElements; 00104 00106 int m_nOfCones; 00107 int * m_coneStart; 00108 int * m_coneIdx; 00109 int * m_coneType; 00110 }; 00111 #endif 00112
1.6.1