nag_ip_init (h02xxc) is the options structure initialization function for the
h Chapter Introduction. This function or
nag_ip_read (h02xyc) must be called before making any use of the options structure.
The integer programming (IP) functions of the
h Chapter Introduction have a number of optional arguments, which are set by means of a structure of type Nag_H02_Opt. Optional argument values may be assigned to members of an options structure directly in the program text and/or by supplying the optional values in a file which can be read by the function
nag_ip_read (h02xyc).
If optional argument values are assigned directly in the program text and no use is made of
nag_ip_read (h02xyc), then nag_ip_init (h02xxc)
must be called before any assignments are made to the options structure. Initialization is still required even if no assignments are made to the structure before it is passed to the IP function.
If the file reading function
nag_ip_read (h02xyc) is used then this will automatically initialize the options structure if this has not already been done. Any direct assignment to the options structure made
after a call to
nag_ip_read (h02xyc) must
not be preceded by a call to nag_ip_init (h02xxc) otherwise the values set by
nag_ip_read (h02xyc) will be lost. Direct assignments to the options structure made
before calling
nag_ip_read (h02xyc) must, of course, still be preceded by a call to nag_ip_init (h02xxc).
The purpose of nag_ip_init (h02xxc) is to initialize the options structure members with null values which indicate to the IP function that the optional argument a structure member represents is not to be changed from its default value.
None.
None.
Not applicable.
Not applicable.
None.