BookmarkSubscribeRSS Feed
Lida
Obsidian | Level 7

Hello,

I am wondering if someone can answer my question. I am new to LP and wondering how I can check (perhaps from SAS output) whether an optimal solution in proc optmodel is truly unique? Can I check somehow that there is only one (optimal) solution to an objective function or there are several optimal solutions.  Thank you!

2 REPLIES 2
RobPratt
SAS Super FREQ

If all your variables are integer, you can use the FINDALLSOLNS option in the CLP solver to find all solutions.

 

For LP, there is no such built-in option, but you can use basis information and reduced costs to detect multiple optimal solutions.

 

See the Reduced Costs and Variable and Constraint Status sections in the documentation.

Lida
Obsidian | Level 7

Thank you for your reply Rob! Unfortunately the CLP solver is not available in the SAS version I have. I am using LP solver and my variables are in decimal format. I am a new to LP so I am wondering if you can advise me where I can read how to use basis information and reduced costs to detect multiple optimal solutions. You help is much appreciated! Thank you!

SAS Innovate 2025: Call for Content

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 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Discussion stats
  • 2 replies
  • 1116 views
  • 0 likes
  • 2 in conversation