BookmarkSubscribeRSS Feed
tom12122
Obsidian | Level 7

Is there a way to output all variables, solution (all values within array), information whether solution is optimal etc. to one table?

Are information like "Solution Status" accessible as some macro variables with fixed names or I just have to gather those information from ODS tables?

Do tables in ODS tables (like eg. "Solution Status") may change from one version of SAS to another or are supposed to be constant and I can fix and rely on them in my code?

1 REPLY 1
YanXu
SAS Employee

If using OPTMILP, the solutions can be stored in datasets, see doc

http://support.sas.com/documentation/cdl/en/ormpug/63975/HTML/default/viewer.htm#ormpug_optmilp_sect...

PRIMALOUT=SAS-data-set
specifies the output
data set for the primal solution. This data set contains the primal solution
information. See the section Data Input and Output for details.

The Solution status can be access from macro _OROPTMILP_, see doc here

http://support.sas.com/documentation/cdl/en/ormpug/63975/HTML/default/viewer.htm#ormpug_optmilp_sect...

The tables may change over versions (add more rows, etc.). Please refer the documentation of the version that you are using.

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
  • 1 reply
  • 714 views
  • 0 likes
  • 2 in conversation