xprsoptimset
xprsoptimset |
Purpose
Synopsis
options = xprsoptimset('param1',value1,'param2',value2,...)
options = xprsoptimset
options = xprsoptimset(oldopts,'param1',value1,...)
options = xprsoptimset(oldopts,newopts)
Arguments
param*
|
optimization control or attribute name
|
value*
|
new value for the optimization option
|
oldopts
|
optimization options structure to copy
|
newopts
|
optimization options structure
|
Return value
A new optimization options structure.
Example
This statement creates an optimization options structure called
options in which the FEASTOL parameter is set to 1e-8 and the MAXMIPSOL parameter is set to 10.
options = xprsoptimset('FEASTOL',1e-8,'MAXMIPSOL',10)
This statement makes a copy of the options structure called
options, changing the value of the PRESOLVE parameter and storing new values in
optnew.
optnew = xprsoptimset(options,'PRESOLVE',0);
This statement creates an Xpress optimization options structure with control values corresponding to the
'final' value of the MATLAB Toolbox option Display.
options = xprsoptimset(optimset('Display', 'final'));
This statement returns an optimization options structure that contains all the parameter names and default values.
defaults = xprsoptimset
Further information
The function
xprsoptimset creates an
options structure
that you can pass as an input argument to the Xpress optimization functions. You can use the options structure to change the default parameters for these functions.
Only options that are set to a non-empty value are taken into consideration.
- options = xprsoptimset('param1',value1,'param2',value2,...)
- creates an optimization options structure called options, in which the specified parameters ( param*) have the specified values. The parameter names are case sensitive and must be valid Xpress control parameter names.
- xprsoptimset
- with no input returns a complete list of parameters with their default values.
- options = xprsoptimset(oldopts,'param1',value1,...)
- creates a copy of oldopts, modifying or adding the specified parameters with the specified values.
- options = xprsoptimset(oldopts,newopts)
- combines an existing options structure oldopts with a new options structure newopts. Any parameters in newopts with nonempty values overwrite the corresponding old parameters in oldopts
Display → OUTPUTLOG, MIPLOG, LPLOG MaxIter → LPITERLIMIT TolRLPFun → OPTIMALITYTOL MaxTime → MAXTIME MaxNode → MAXNODE NodeDisplayInterval → MIPLOG NodeSearchStrategy → NODESELECTION TolXInteger → MIPTOL |
Related topics