nag_opt_handle_free (e04rzc) is a part of the NAG optimization modelling suite. It is used to deallocate the memory used within the problem handle and to destroy the handle itself.
Each problem handle initialized by
nag_opt_handle_init (e04rac) should be deallocated to avoid memory leaks. Therefore nag_opt_handle_free (e04rzc) 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 initialized by
nag_opt_handle_init (e04rac) might cause unpredictable behaviour, including a crash of your program. See
nag_opt_handle_init (e04rac) for a generic description of the suite.
None.
Not applicable.
nag_opt_handle_free (e04rzc) is not threaded in any implementation.
None.
See
Section 10 in nag_opt_handle_init (e04rac) for links to all examples in the suite.