OSrL2Smag Class Reference

Reads an optimization result and writes it into a gams solution file using the SMAG I/O library. More...

#include <OSrL2Smag.hpp>

List of all members.

Public Member Functions

 OSrL2Smag (struct smagRec *smag_)
 Constructor.
 ~OSrL2Smag ()
 Destructor.
void writeSolution (OSResult &osresult)
 Writes a GAMS solution file with the result given as OSResult object.
void writeSolution (std::string &osrl)
 Writes a GAMS solution file with the result given as osrl string.

Private Attributes

smagRec * smag


Detailed Description

Reads an optimization result and writes it into a gams solution file using the SMAG I/O library.

Definition at line 39 of file OSrL2Smag.hpp.


Constructor & Destructor Documentation

OSrL2Smag::OSrL2Smag ( struct smagRec *  smag_  ) 

Constructor.

Parameters:
smag_ SMAG handler.

OSrL2Smag::~OSrL2Smag (  )  [inline]

Destructor.

Definition at line 48 of file OSrL2Smag.hpp.


Member Function Documentation

void OSrL2Smag::writeSolution ( OSResult &  osresult  ) 

Writes a GAMS solution file with the result given as OSResult object.

Parameters:
osresult Optimization result as object.

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

Writes a GAMS solution file with the result given as osrl string.

Parameters:
osrl Optimization result as string.


Member Data Documentation

struct smagRec* OSrL2Smag::smag [private]

Definition at line 61 of file OSrL2Smag.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Dec 30 03:01:29 2008 for GAMSlinks by  doxygen 1.4.7