My Project
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$
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
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.
struct gmoRec * gmo
~OSrL2Gams()
Destructor.
OSrL2Gams(struct gmoRec *gmo_)
Constructor.
struct gevRec * gev
void writeSolution(OSResult &osresult)
Writes a solution into a GMO with the result given as OSResult object.
OSResult * osresult