BookmarkSubscribeRSS Feed
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?

SAS Employee

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

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

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


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
  • 2 in conversation