Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
tmp
OS-2.10.2
OS
src
OSModelInterfaces
OSosrl2gams.hpp
Go to the documentation of this file.
1
// Copyright (C) GAMS Development and others 2008-2009
2
// All Rights Reserved.
3
// This code is published under the Eclipse Public License.
4
//
5
// $Id: OSosrl2gams.hpp 4263 2011-09-09 20:19:26Z Gassmann $
6
//
7
// Authors: Stefan Vigerske
8
9
#ifndef OSRL2GAMS_HPP_
10
#define OSRL2GAMS_HPP_
11
12
#include "GAMSlinksConfig.h"
13
14
class
OSResult
;
15
struct
gmoRec;
16
struct
gevRec;
17
20
class
OSrL2Gams
21
{
22
private
:
23
struct
gmoRec*
gmo
;
24
struct
gevRec*
gev
;
25
26
public
:
30
OSrL2Gams
(
struct
gmoRec* gmo_);
31
34
~OSrL2Gams
() {}
35
39
void
writeSolution
(
OSResult
&
osresult
);
40
44
void
writeSolution
(std::string& osrl);
45
};
46
47
#endif
/*OSRL2GAMS_HPP_*/
OSrL2Gams
Reads an optimization result and stores result and solution in a Gams Modeling Object.
Definition:
OSosrl2gams.hpp:20
OSrL2Gams::gev
struct gevRec * gev
Definition:
OSosrl2gams.hpp:24
OSResult
The Result Class.
Definition:
OSResult.h:2548
OSrL2Gams::writeSolution
void writeSolution(OSResult &osresult)
Writes a solution into a GMO with the result given as OSResult object.
Definition:
OSosrl2gams.cpp:32
OSrL2Gams::gmo
struct gmoRec * gmo
Definition:
OSosrl2gams.hpp:23
osresult
OSResult * osresult
Definition:
OSParseosrl.tab.cpp:5025
OSrL2Gams::~OSrL2Gams
~OSrL2Gams()
Destructor.
Definition:
OSosrl2gams.hpp:34
OSrL2Gams::OSrL2Gams
OSrL2Gams(struct gmoRec *gmo_)
Constructor.
Definition:
OSosrl2gams.cpp:28
Generated by
1.8.5