e05zkf either initializes or resets the optional parameter arrays or sets a single optional parameter for supported problem solving routines in
Chapter E05.
The following routines are supported:
Optional parameters and their values are, in general, presented as a character string,
optstr, of the form ‘
’; alphabetic characters can be supplied in either upper or lower case. Both
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 routine is called and before any options are queried using
e05zlf.
To initialize the optional parameter arrays
iopts and
opts for a specific problem solving routine, the option
Initialize is used with
identifying the problem solving routine to be called. For example, to initialize optional parameter arrays to be passed to
e05saf,
e05zkf is called as follows:
Call e05zkf('Initialize = e05saf', iopts, liopts, opts, lopts, ifail)
Note that the routine name may be abbreviated to just the first five letters of the ‘short’ name, or by omitting the nagf_ or glopt_ prefixes of the ‘long’ name. So the above may be equivalently specified as 'Initialize = e05sa' or 'Initialize = bnd_pso'.
Information relating to available option names and their corresponding valid values is given in Section 12 in
e05saf,
e05sbf,
e05ucf and
e05usf.
None.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
x04aaf).
Not applicable.
Background information to multithreading can be found in the
Multithreading documentation.
Please consult the
X06 Chapter Introduction for information on how to control and interrogate the OpenMP environment used within this routine. Please also consult the
Users' Note for your implementation for any additional implementation-specific information.
Some options have default values which are problem dependent. For example the option
Maximum Iterations Completed for
e05saf has the default value
. If options such as this are set, they may only be set to constant values. If such an option is reset to its DEFAULT value its dependence on the specific problem will be restored.
See the example programs associated with the problem solving routine you wish to use for a demonstration of how to use e05zkf to initialize option arrays and set options.