Statistical programming, matrix languages, and more

NLP using IML

Posts: 21

NLP using IML

We are trying to solve NLE using NLPTR subroutine in IML. We have set the following control parameters:

par = j(1,10,.); par[8]=8; par[2]=.00001; par[7] = 0.0000001;

We are getting a very large step size in the very first iteration that ends up hitting upper bound constraint. The optimization quits as it hits the upper constaint. Is there any other way of controlling the step size? I quickly wrote the same code in matlab and verified that the solution does in fact falls between the two constraints that I have specified.

Thanks for any help.
Occasional Contributor
Posts: 12

NLP using IML

Posted in reply to model_coder

I face the same problem in my model and I wonder if you found a solution for this problem or not

Thanks for your help

Posts: 4,243

NLP using IML

Without additional details, it will be hard to help. Have you tried a different initial condition? The initial step is determined by the initial guess.

Occasional Contributor
Posts: 12

NLP using IML

i already deleted the part I needed it for thanks

Ask a Question
Discussion stats
  • 3 replies
  • 3 in conversation