readParameterValues: readParameterValues

View source: R/readParameterValues.R

readParameterValuesR Documentation

readParameterValues

Description

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

Usage

readParameterValues(code, parameters)

Arguments

code

A vector with GAMS code.

parameters

A vector with GAMS parameter names

Details

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

Value

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

Author(s)

Mika Pflüger

See Also

readDeclarations


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