Learn R Programming

gms (version 0.31.2)

readParameterValues: readParameterValues

Description

Read values of given parameters from a given GAMS code section.

Usage

readParameterValues(code, parameters)

Value

A vector of values the parameters are set to with parameter names as names.

Arguments

code

A vector with GAMS code.

parameters

A vector with GAMS parameter names

Author

Mika Pflüger

Details

The GAMS code section should contain statements of the form parameter = value; for all the given parameters.

See Also

readDeclarations