setparam
| setparam | 
  Purpose
 
  
  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
 name argument must be a constant string: a model parameter, variable or string expression cannot be used as a control parameter name.
 
 
 4. The following control parameters, supported by Mosel, can be altered with this procedure:
 
  
   
 
 | 
      realfmt 
      | |
| 
      zerotol 
      | |
| 
      ioctrl 
      | |
| 
      mathctrl 
      | |
| 
      readcnt 
      | |
| 
      UTC 
      | |
| 
      autofinal 
      | |
| 
      workdir 
      | |
| 
      recloc 
      | 
      enable (or disable) automatic recording of source location of constraints definitions (Boolean, default:
      false). This parameter can be set to
      true only if the model has been compiled with option
      -G; it makes it possible the creation of meaningful constraint names when exporting a matrix (see
      exportprob)
      | 
| 
      localedir 
      | 
  Related topics
 
  
