Each initialized problem handle (e.g., by e04raf
) should be deallocated to avoid memory leaks. Therefore, e04rzf
should be called on all the handles which are no longer needed, typically after obtaining results from the solver. Please note that passing a handle which has not been properly initialized might cause unpredictable behaviour, including a crash of your program. See Section 3.1
in the E04
Chapter Introduction for more details about the NAG optimization modelling suite.
If on entry
, explanatory error messages are output on the current error message unit (as defined by x04aaf
for links to all the examples in the suite.