readSetglobals: readSetglobals

View source: R/readSetglobals.R

readSetglobalsR Documentation

readSetglobals

Description

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.

Author(s)

Jan Philipp Dietrich

See Also

readDeclarations


gms documentation built on June 29, 2024, 9:07 a.m.