Hi, I just started using SAS today, I am using the University Edition1, I am trying to maximize a function.
I type
proc OPTMODEL;
var x1: integer>=0;
var x2: integer>=0;
maximize z=8*x1+20*x2;
con c1: x1+x2<=11;
con c2: 3*x1+2*x2<=30;
con c3: 1*x1+3*x2<=28;
solve;
print x1 x2 z;
quit;
but got the message:
ERROR: Procedure OPTMODEL not found.
bellow there is this message too:
I dont run University edition, but given the error, I dont think you are licensed to run PROC OPTMODEL?
try running the following and see if you have a SAS/OR license 🙂
proc product_status;
run;
PROC OPTMODEL, which is part of SAS/OR software, is not included in the free SAS University Edition. The first sentence on the SAS UE webpage says "With SAS University Edition, you get SAS Studio, Base SAS, SAS/STAT, SAS/IML, SAS/ACCESS and several time series forecasting procedures from SAS/ETS."
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.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.