BookmarkSubscribeRSS Feed
Emara
Calcite | Level 5

Hello all,

I am using the NLPNMS call in  proc iml . Could I guarntee that my solution is unique?

Thanks,

Aya

2 REPLIES 2
SteveDenham
Jade | Level 19

Use a variety of starting points for the optimization.  See the SAS?IML User's Guide > Nonlinear Optimation Examples > Details > Gloval versus Local Optima.

Steve Denham

Rick_SAS
SAS Super FREQ

The uniqueness of a solution depends on the function being optimized, not the particular choice of an optimization routine. In general, if you start near a local optimum, you will converge to that optimum (but the beautiful fractals for Newton's iteration show that this is not always the case!)  If your function has several local maxima and you want to find the one that is the global maximum, you can try using initial conditions on a uniform grid in parameter space, as detailed in this article: How to find an initial guess for an optimization - The DO Loop

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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