00001
00016 #ifndef OSRL2AMPL_H
00017 #define OSRL2AMPL_H
00018
00019
00020
00021 #include "OSResult.h"
00022 #include "OSMathUtil.h"
00023 #include <string>
00024 #include <vector>
00025
00026
00038 struct ograd;
00039 struct cgrad;
00040 struct ASL;
00041 struct expr;
00042
00043
00044 class OSosrl2ampl
00045 {
00046 public:
00048 OSosrl2ampl();
00049
00051 ~OSosrl2ampl();
00052
00062 bool writeSolFile(std::string osrl, ASL *asl, std::string filename);
00063
00064 private:
00065
00069 ograd *og;
00070
00076 ASL *asl, *cw, *rw;
00077
00080 std::string stub;
00081
00082 };
00083
00084 #endif