Public Member Functions | Private Attributes | List of all members
OSrL2Gams Class Reference

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

#include <OSosrl2gams.hpp>

Public Member Functions

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

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.

Definition at line 28 of file OSosrl2gams.cpp.

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
osresultOptimization 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
osrlOptimization result as string.

Definition at line 185 of file OSosrl2gams.cpp.

Member Data Documentation

struct gmoRec* OSrL2Gams::gmo
private

Definition at line 23 of file OSosrl2gams.hpp.

struct gevRec* OSrL2Gams::gev
private

Definition at line 24 of file OSosrl2gams.hpp.


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