Name

ampl_free — free the memory associated to an AMPL problem

Calling Sequence

ampl_free(asl)

Parameters

asl

a structure which handles the pointer to the problem

Description

Free the memory associated to an AMPL problem.

Examples

 
[asl, x0, bl, bu, v, cl, cu] = ampl_init('demos/data/ASL/ch03.nl');
// Do something
ampl_free(asl); // free the memory
 

See Also

ampl_init, ampl_evalf, ampl_evalg, ampl_evalw, ampl_get_size, ampl_write_sol

Authors

Yann COLLETTE