OSrL2Gams Class Reference

Reads an optimization result and stores result and solution in a Gams Modeling Object. More...

#include <OSosrl2gams.hpp>

List of all members.

Public Member Functions

 OSrL2Gams (struct gmoRec *gmo_)
 Constructor.
 ~OSrL2Gams ()
 Destructor.
void writeSolution (OSResult &osresult)
 Writes a solution into a GMO with the result given as OSResult object.
void writeSolution (std::string &osrl)
 Writes a solution into a GMO with the result given as osrl string.

Private Attributes

struct gmoRec * gmo
struct gevRec * gev

Detailed Description

Reads an optimization result and stores result and solution in a Gams Modeling Object.

Definition at line 20 of file OSosrl2gams.hpp.


Constructor & Destructor Documentation

OSrL2Gams::OSrL2Gams ( struct gmoRec *  gmo_  ) 

Constructor.

Parameters:
gmo_ GMO handler.
OSrL2Gams::~OSrL2Gams (  )  [inline]

Destructor.

Definition at line 34 of file OSosrl2gams.hpp.


Member Function Documentation

void OSrL2Gams::writeSolution ( OSResult osresult  ) 

Writes a solution into a GMO with the result given as OSResult object.

Parameters:
osresult Optimization result as object.

Definition at line 32 of file OSosrl2gams.cpp.

void OSrL2Gams::writeSolution ( std::string &  osrl  ) 

Writes a solution into a GMO with the result given as osrl string.

Parameters:
osrl Optimization result as string.

Definition at line 185 of file OSosrl2gams.cpp.


Member Data Documentation

struct gmoRec* OSrL2Gams::gmo [read, private]

Definition at line 23 of file OSosrl2gams.hpp.

struct gevRec* OSrL2Gams::gev [read, private]

Definition at line 24 of file OSosrl2gams.hpp.


The documentation for this class was generated from the following files:

Generated on 16 Feb 2012 by  doxygen 1.6.1