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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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