nag_mip_optset (h02zk) either initializes or resets the optional parameter arrays or sets a single optional parameter for supported problem solving functions in
Chapter H.
Optional parameters and their values are, in general, presented as a character string,
optstr, of the form ‘
option ’; alphabetic characters can be supplied in either upper or lower case. Both
option and
may consist of one or more tokens separated by white space. The tokens that comprise
will normally be either an integer, real or character value as defined in the description of the specific optional argument. In addition all optional parameters can take an
DEFAULT which resets the optional parameter to its default value.
It is imperative that optional parameter arrays are initialized before any options are set, before the relevant problem solving function is called and before any options are queried using
nag_mip_optget (h02zl). To initialize the optional parameter arrays
iopts and
opts for a specific problem solving function, the option
Initialize is used with
optval identifying the problem solving function to be called, via its short name. For example, to initialize optional parameter arrays to be passed to
nag_mip_sqp (h02da),
nag_mip_optset (h02zk) is called as follows:
Information relating to available option names and their corresponding valid values is given in
Optional Parameters in
nag_mip_sqp (h02da).
None.
Not applicable.
None.
See the example programs associated with the problem solving function you wish to use for a demonstration of how to use nag_mip_optset (h02zk) to initialize option arrays and set options.