BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
wutao9999
Obsidian | Level 7

I am wondering if SAS can allow the following way to set starting points for a nonlinear model:

1)  ignore all nonlinear terms in the model, and first solve the problem using linear programming solver.

2) using the solution of the linear programming solver as the starting point for the nonlinear programming solver.

I have no ideas for the above 2), does anyone know the answer?  Thank you very much.

1 ACCEPTED SOLUTION

Accepted Solutions
RobPratt
SAS Super FREQ

There is nothing automated to do this.  But in PROC OPTMODEL, you can call the LP solver by using SOLVE WITH LP and then later call the NLP solver by using SOLVE WITH NLP.  By default, the second solve will use the solution from the first solve as a starting point.  You can disable this behavior by using the NOINITVAR option in the PROC OPTMODEL statement:

SAS/OR(R) 13.1 User's Guide: Mathematical Programming.

You might find it helpful to use the PROBLEM and USE PROBLEM statements to control which parts of the model are passed to the solver:

SAS/OR(R) 13.1 User's Guide: Mathematical Programming

View solution in original post

1 REPLY 1
RobPratt
SAS Super FREQ

There is nothing automated to do this.  But in PROC OPTMODEL, you can call the LP solver by using SOLVE WITH LP and then later call the NLP solver by using SOLVE WITH NLP.  By default, the second solve will use the solution from the first solve as a starting point.  You can disable this behavior by using the NOINITVAR option in the PROC OPTMODEL statement:

SAS/OR(R) 13.1 User's Guide: Mathematical Programming.

You might find it helpful to use the PROBLEM and USE PROBLEM statements to control which parts of the model are passed to the solver:

SAS/OR(R) 13.1 User's Guide: Mathematical Programming

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

Discussion stats
  • 1 reply
  • 1185 views
  • 0 likes
  • 2 in conversation