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
Details
The GAMS code section should contain statements of the form
parameter = value;
for all the given parameters.