Skip to content

Reads all setglobals given in a GAMS code and returns them.

Usage

readSetglobals(file)

Arguments

file

A gams file or a vector containing GAMS code.

Value

A vector of values the setglobal variables are set to with setglobal variables as names.

See also

Author

Jan Philipp Dietrich