Initializing help system before first use

xprsoptimget

xprsoptimget


Purpose
Retrieve Xpress optimization options values.
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

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.