In reply to Yasmine.

The arguments to the NLP* functions should be the vector of values that you are trying to optimize. Do not include parameters or constraints. For an example, see http://blogs.sas.com/content/iml/2011/10/12/maximum-likelihood-estimation-in-sasiml/