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."
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
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.
Ready to level-up your skills? Choose your own adventure.