BookmarkSubscribeRSS Feed
model_coder
Calcite | Level 5
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.
3 REPLIES 3
heba2000
Calcite | Level 5

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

Rick_SAS
SAS Super FREQ

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.

heba2000
Calcite | Level 5

i already deleted the part I needed it for thanks

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 3 replies
  • 1006 views
  • 0 likes
  • 3 in conversation