OS 2.10.2
Loading...
Searching...
No Matches
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
14class OSResult;
15struct gmoRec;
16struct gevRec;
17
21{
22private:
23 struct gmoRec* gmo;
24 struct gevRec* gev;
25
26public:
30 OSrL2Gams(struct gmoRec* gmo_);
31
35
39 void writeSolution(OSResult& osresult);
40
44 void writeSolution(std::string& osrl);
45};
46
47#endif /*OSRL2GAMS_HPP_*/
The Result Class.
Definition: OSResult.h:2549
Reads an optimization result and stores result and solution in a Gams Modeling Object.
Definition: OSosrl2gams.hpp:21
void writeSolution(std::string &osrl)
Writes a solution into a GMO with the result given as osrl string.
~OSrL2Gams()
Destructor.
Definition: OSosrl2gams.hpp:34
OSrL2Gams(struct gmoRec *gmo_)
Constructor.
void writeSolution(OSResult &osresult)
Writes a solution into a GMO with the result given as OSResult object.