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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

Discussion stats
  • 1 reply
  • 1332 views
  • 0 likes
  • 2 in conversation