gams::SolverOptions Class Reference

Represents the solver options. More...

#include <solveroptions.h>

Public Member Functions

 SolverOptions ()
 Standard constructor. More...
 
 ~SolverOptions ()
 Destructor. More...
 
std::string getSolverName ()
 
void exportOptFile (std::string fileName)
 
void ResetToDefaults ()
 Reset all GAMS options to default. More...
 

Detailed Description

Represents the solver options.

Definition at line 33 of file solveroptions.h.

Constructor & Destructor Documentation

◆ SolverOptions()

gams::SolverOptions::SolverOptions ( )

Standard constructor.

◆ ~SolverOptions()

gams::SolverOptions::~SolverOptions ( )

Destructor.

Member Function Documentation

◆ exportOptFile()

void gams::SolverOptions::exportOptFile ( std::string  fileName)

Export GAMSOptions file.

Parameters
fileNameGAMSOptions file name.

◆ getSolverName()

std::string gams::SolverOptions::getSolverName ( )

Get GAMS solver name.

Returns
Returns the GAMS solver name.

◆ ResetToDefaults()

void gams::SolverOptions::ResetToDefaults ( )

Reset all GAMS options to default.