OS
2.10.2
src
OSModelInterfaces
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
44
class
OSosrl2ampl
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
OSosrl2ampl::OSosrl2ampl
OSosrl2ampl()
the OSosrl2ampl class constructor
OSosrl2ampl::writeSolFile
bool writeSolFile(std::string osrl, ASL *asl, std::string filename)
Convert the solution to AMPL .sol format.
OSMathUtil.h
OSResult.h
OSosrl2ampl
The OSosrl2ampl Class.
Definition:
OSosrl2ampl.h:45
OSosrl2ampl::~OSosrl2ampl
~OSosrl2ampl()
the OSosrl2ampl class destructor
Generated by
1.8.18