xprsoptimget
xprsoptimget |
Purpose
Synopsis
val = xprsoptimget(options,'param')
val = xprsoptimget(options,'param',default)
Arguments
options
|
optimization options structure
|
param
|
optimization control or attribute name
|
Return value
Value of the optimization control or attribute.
Example
This statement returns the value of the FEASTOL optimization control parameter in the structure called
my_options.
val = xprsoptimget(my_options,'FEASTOL')
This statement returns the value of the FEASTOL optimization control parameter in the structure called
my_options (as in the previous example) except that if the FEASTOL parameter is not defined, it returns the value 1e-6.
optnew = xprsoptimget(my_options,'FEASTOL',1e-6);)
Further information
1.
val = xprsoptimget(options,'param') returns the value of the specified parameter in the optimization options structure options. The parameter name is case sensitive and must be a valid Xpress control parameter name.
2.
val = xprsoptimget(options,'param',default) returns
default if the specified parameter is not defined in the optimization options structure options.
Related topics