ampl_evalf — evaluate the objective function and the constraints value of a given AMPL problem
[f, c] = ampl_evalf(asl, x)
the point where we evaluate the objective function and the constraints
a structure which handles the pointer to the problem
the value of the objective function
a vector which contains the value of the constraints