GAMSlinks  0.4
Public Member Functions | Private Attributes | List of all members
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>

Public Member Functions

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

Private Attributes

struct 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
osresultOptimization result as object.
void OSrL2Smag::writeSolution ( std::string &  osrl)

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

Parameters
osrlOptimization 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: