Operations Research topics: SAS/OR,
SAS Optimization, and SAS Simulation Studio

error PROCEDURE OPTMODEL not found

Accepted Solution Solved
Reply
Contributor
Posts: 38
Accepted Solution

error PROCEDURE OPTMODEL not found

Hello everyone,

 

I need a help. I am trying to run an optmodel procedure but i am having SAS university edition which doeesn't supports SAS optmodel, i think. I have to run the below code for the dataset attached. Can anyone help me out?

 

proc optmodel;
var hp, cyl ,mpg;
min price = -8864.63 - 0.14398hp +1150.71mpg + 1215.28cyl;
con -0.00997 - 0.1005mpg + 0.3351cyl - 0.0148hp + 0.000081price = 1;
solve;
print hp cyl mpg;
quit;
run;

 

 

 

 


Accepted Solutions
Solution
‎07-31-2017 06:46 AM
SAS Super FREQ
Posts: 8,868

Re: error PROCEDURE OPTMODEL not found

Posted in reply to atulsingh

Hi,

  It is possible that your professor intended for you to get SAS, SAS/STAT and SAS/OR through your University’s license and not through SAS University Edition. The bottom line is that SAS/OR is not available in SAS University Edition. So you might want to verify with your professor where (what system) he intended for you to use to run the program.

 

  However, if you sign up for a free SAS OnDemand for Academics independent learner account, you do have access to SAS/OR on the OnDemand server. The difference between using  SAS University Edition in a Virtual Machine and using SAS OnDemand for Academics account is that you need to be connected to the Internet to connect to the OnDemand server in your browser. You will still use SAS Studio, so that piece is the same. And, finally, with the OnDemand server, a student cannot read data from his/her local C: drive or shared folder location. Instead, you will need to upload your files (such as your CSV file) to your server folder in order to run code that uses the data. I did not see a PROC IMPORT step to read the CSV file, so you might also need to ask your professor about that step. You would need to check in the doc whether PROC OPTMODEL will directly use a CSV file.

 

  I really suggest that you speak with your professor first, however. It is possible that your University provides a way for you to download SAS, SAS/STAT and SAS/OR to your local machine – every university with an Educational SAS license arranges access for students differently so we don’t know what method your university uses. But SAS OnDemand for Academics is always an option for you. Here’s the information: http://support.sas.com/software/products/ondemand-academics/#s1=2 follow the independent learners steps to register, set up an account and log onto the control center.

 

cynthia

 

View solution in original post


All Replies
Super User
Super User
Posts: 7,973

Re: error PROCEDURE OPTMODEL not found

Posted in reply to atulsingh

You need SAS OR licensed to use that procedure, a search on these forums reveals an already asked question:

https://communities.sas.com/t5/Mathematical-Optimization/proc-optmodel/td-p/135259

Contributor
Posts: 38

Re: error PROCEDURE OPTMODEL not found

I don't have licensed SAS software. If possible, can you please run the above code for me and attach the screenshot. It's urgent..

Super User
Super User
Posts: 7,973

Re: error PROCEDURE OPTMODEL not found

Posted in reply to atulsingh

That is against the terms of the license.  Please refer to your SAS sales rep to license the software you need to use.

Super User
Posts: 10,035

Re: error PROCEDURE OPTMODEL not found

Posted in reply to atulsingh

Better post it at OR forum. @RobPratt might run it for you .

Super User
Posts: 7,824

Re: error PROCEDURE OPTMODEL not found

I moved the thread to the OR forum.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Solution
‎07-31-2017 06:46 AM
SAS Super FREQ
Posts: 8,868

Re: error PROCEDURE OPTMODEL not found

Posted in reply to atulsingh

Hi,

  It is possible that your professor intended for you to get SAS, SAS/STAT and SAS/OR through your University’s license and not through SAS University Edition. The bottom line is that SAS/OR is not available in SAS University Edition. So you might want to verify with your professor where (what system) he intended for you to use to run the program.

 

  However, if you sign up for a free SAS OnDemand for Academics independent learner account, you do have access to SAS/OR on the OnDemand server. The difference between using  SAS University Edition in a Virtual Machine and using SAS OnDemand for Academics account is that you need to be connected to the Internet to connect to the OnDemand server in your browser. You will still use SAS Studio, so that piece is the same. And, finally, with the OnDemand server, a student cannot read data from his/her local C: drive or shared folder location. Instead, you will need to upload your files (such as your CSV file) to your server folder in order to run code that uses the data. I did not see a PROC IMPORT step to read the CSV file, so you might also need to ask your professor about that step. You would need to check in the doc whether PROC OPTMODEL will directly use a CSV file.

 

  I really suggest that you speak with your professor first, however. It is possible that your University provides a way for you to download SAS, SAS/STAT and SAS/OR to your local machine – every university with an Educational SAS license arranges access for students differently so we don’t know what method your university uses. But SAS OnDemand for Academics is always an option for you. Here’s the information: http://support.sas.com/software/products/ondemand-academics/#s1=2 follow the independent learners steps to register, set up an account and log onto the control center.

 

cynthia

 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 341 views
  • 1 like
  • 5 in conversation