AMPL Toolbox


Table of Contents

I. AMPL Toolbox
ampl_eval_sp_g — evaluate the gradient of the objective function and the sparse Jacobian of the constraints of a given AMPL problem
ampl_eval_sp_w — evaluate the sparse Hessian of the objective function and of the constraints of a given AMPL problem
ampl_eval_spst_g_rc — evaluate the sparsity structure of the Jacobian of the constraints of a given AMPL problem
ampl_eval_spst_g_val — evaluate the values of the Jacobian for the position corresponding to the sparsity structure of the Jacobian of a given AMPL problem
ampl_eval_spst_w_rc — evaluate the sparsity structure of the Hessian of the constraints plus the objective function of a given AMPL problem
ampl_eval_spst_w_val — evaluate the values of the Hessian for the position corresponding to the sparsity structure of the Hessian of a given AMPL problem
ampl_evalf — evaluate the objective function and the constraints value of a given AMPL problem
ampl_evalg — evaluate the gradient of the objective function and the Jacobian of the constraints of a given AMPL problem
ampl_evalw — evaluate the dense Hessian of the objective function and of the constraints of a given AMPL problem
ampl_free — free the memory associated to an AMPL problem
ampl_get_compl — return the list of constraints which are of complementary kinds of a given AMPL problem
ampl_get_size — return the size of a given AMPL problem
ampl_get_type — return the type of variables of a given AMPL problem
ampl_init — read an AMPL .nl file and returns a problem structure plus boundaries of the problem
ampl_write_sol — write a .sol file which stores the solution of a given AMPL problem