setparam


Purpose
Set the value of a control parameter.
Synopsis
procedure setparam(name:string,val:integer|string|real|boolean)
Arguments
name 
Name of a control parameter (case insensitive).
val 
New value for the control parameter
Example
See example of function getparam.
Further information
1. Control parameters include the settings of Mosel as well as those of any loaded module. The module may be specified by prefixing the parameter name with the name of the module (e.g. mmxprs.XPRS_verbose). The type of the value must correspond to the type expected by the parameter.
2. This procedure can be applied only to control parameters the value of which can be modified.
3. The following control parameters, supported by Mosel, can be altered with this procedure:
realfmt 
Default C printing format for real numbers (string, default: "%g")
zerotol 
zero tolerance in comparisons between reals (real, default: 1.0e-13)
ioctrl 
the interpreter ignores IO errors (Boolean, default: false)
readcnt 
generate per label counting when executing `initializations from' blocks (Boolean, default: false)
UTC 
indicate whether the time functions return time expressed in local (false) or UTC (true) time (Boolean, default: false)

Related topics
getparam.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.