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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 849 views
  • 0 likes
  • 2 in conversation