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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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