frees the memory allocated by nag_ip_mps_read (h02buc)
should be used in conjunction with nag_ip_mps_read (h02buc)
, which reads data for an integer programming problem from an MPSX file, allocates several arrays, and populates them with the data contained in the file. nag_ip_mps_free (h02bvc)
is a utility provided for the convenient freeing of this memory. It should be called in order to conserve memory which is no longer required, e.g., following a call to nag_ip_bb (h02bbc)
(which may be used to solve the problem defined by the MPSX file). Any memory not freed will, of course, be freed when your program terminates.
In addition to allocating the memory freed by this function, nag_ip_mps_read (h02buc)
also allocates memory to the
member of the options
structure (if the structure is supplied as an argument). The function nag_ip_free (h02xzc)
should be used to free this memory. You should not
use the standard C function free()
for this purpose.
For an example of the use of nag_ip_mps_free (h02bvc)
see the documentation for nag_ip_mps_read (h02buc)