OSosrl2ampl.h
Go to the documentation of this file.
1 /* $Id: OSosrl2ampl.h 4249 2011-08-11 01:08:14Z Gassmann $ */
16 #ifndef OSRL2AMPL_H
17 #define OSRL2AMPL_H
18 
19 
20 
21 #include "OSResult.h"
22 #include "OSMathUtil.h"
23 #include <string>
24 #include <vector>
25 
26 
38 struct ograd;
39 struct cgrad;
40 struct ASL;
41 struct expr;
42 
43 
45 {
46 public:
48  OSosrl2ampl();
49 
51  ~OSosrl2ampl();
52 
62  bool writeSolFile(std::string osrl, ASL *asl, std::string filename);
63 
64 private:
65 
69  ograd *og;
70 
76  ASL *asl, *cw, *rw;
77 
80  std::string stub;
81 
82 }; //end of OSosrl2ampl
83 
84 #endif
std::string stub
stub is the name of the file with the nl instance
Definition: OSosrl2ampl.h:80
bool writeSolFile(std::string osrl, ASL *asl, std::string filename)
Convert the solution to AMPL .sol format.
Definition: OSosrl2ampl.cpp:71
ograd * og
og is a pointer to the AMPL data structure holding the objective function coefficients ...
Definition: OSosrl2ampl.h:69
The OSosrl2ampl Class.
Definition: OSosrl2ampl.h:44
~OSosrl2ampl()
the OSosrl2ampl class destructor
Definition: OSosrl2ampl.cpp:67
ASL * asl
Pointers to AMPL data structures.
Definition: OSosrl2ampl.h:76
OSosrl2ampl()
the OSosrl2ampl class constructor
Definition: OSosrl2ampl.cpp:63