I am using PROC OPTMODEL for optimizing a nonlinear function created using PROC FCMP. The function to be optimized is a complex nonlinear function with two variables and there are only bound constraints on the two variables (no other constraints)
There are 3 solvers available: NLPU, NLPC and SQP. First one seems to be for unconstrained problems but it does allow for bound constraints. In my case, it appears that I can use any one of the 3 solvers since only bound constraints are there. I have tried (70+ test cases) with NLPC and NLPU. NLPC seems 3-4 time faster than the NLPU. However, there are cases where NLPC crashes but NLPU works and vice versa.
Are there any guidelines on when to use/when not to use these solvers? Is there a way to debug to find out why one solver is working while the other crashes.
Thank you.
Ravi
As of SAS 9.3 released in July 2011, the NLPU, NLPC, SQP, and IPNLP solvers are no longer under active development. You should instead use the NLP solver (SOLVE WITH NLP), which accesses two algorithms: INTERIORPOINT (default) and ACTIVESET. For more details, see:
Also, FCMP support for PROC OPTMODEL is undocumented and not yet fully functional.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.