tag:blogger.com,1999:blog-8781383461061929571.post7462941549208345933..comments2024-03-14T09:08:19.035-04:00Comments on OR in an OB World: Installing CPLEX (educational version) on LinuxPaul A. Rubinhttp://www.blogger.com/profile/05801891157261357482noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-8781383461061929571.post-74457854376807007462012-10-10T10:58:37.502-04:002012-10-10T10:58:37.502-04:00I use CPLEX (frequently) but not OPL. You might fi...I use CPLEX (frequently) but not OPL. You might find what you need in this thread on the developerWorks OPL/CPLEX forum: http://www.ibm.com/developerworks/forums/thread.jspa?threadID=367312.Paul A. Rubinhttps://www.blogger.com/profile/05801891157261357482noreply@blogger.comtag:blogger.com,1999:blog-8781383461061929571.post-17627178273546131162012-10-10T09:51:27.544-04:002012-10-10T09:51:27.544-04:00Hi, im following your answers about Opl-Cplex, and...Hi, im following your answers about Opl-Cplex, and i have a question... do you know how call a csv in Linux's Opl-Cplex? ThanksGatozzzonoreply@blogger.comtag:blogger.com,1999:blog-8781383461061929571.post-33559366233565390272012-02-23T09:34:39.441-05:002012-02-23T09:34:39.441-05:00As of version 12.3 (possibly 12.2), the Linux dist...As of version 12.3 (possibly 12.2), the Linux distribution of CPLEX includes the OPL IDE. You should be able to run opl/oplide/oplide from a terminal. In the IDE, you can open one of the examples with File > New > Example...; click the folder of IBM examples and use the wizard's many options to find the example you want.<br /><br />If you prefer a command line version, in a terminal you can run opl/bin//oplrun. Executed without any arguments, it will give you a typical help message. You may need to preface it with 'export LD_LIBRARY_PATH=...' where ... is the path to the folder containing oplrun.Paul A. Rubinhttps://www.blogger.com/profile/05801891157261357482noreply@blogger.comtag:blogger.com,1999:blog-8781383461061929571.post-33062382971740779112012-02-22T23:06:39.563-05:002012-02-22T23:06:39.563-05:00I could use the interactive optimizer on Linux. Bu...I could use the interactive optimizer on Linux. But I can't find the way to run *.mod files(the example in "opl/examples/opl/" directory) What should I do?<br />thanks<br /><br />Stanly<br />kuokuo321@gmail.comkuokuohttps://www.blogger.com/profile/09757567706435363645noreply@blogger.comtag:blogger.com,1999:blog-8781383461061929571.post-6446928007818522592011-12-27T18:36:50.227-05:002011-12-27T18:36:50.227-05:00I assume that you have a valid license file instal...I assume that you have a valid license file installed somewhere. Run "printenv | grep ILOG" in a terminal and verify that the path it gives to the license file correctly points to the license file.<br /><br />Also, are you running the interactive optimizer, using the callable library, or running the IDE? I had to create a batch file to start the IDE. (The batch file contains the EXPORT command described above.)Paul A. Rubinhttps://www.blogger.com/profile/05801891157261357482noreply@blogger.comtag:blogger.com,1999:blog-8781383461061929571.post-68951030729953623562011-12-27T18:10:06.420-05:002011-12-27T18:10:06.420-05:00I did All you recomended, but when I am runing run...I did All you recomended, but when I am runing runfile it returns:"CPLEX Error 32201: ILM Error 16: CPLEX: license file not found or unreadable.<br />Exiting " What's wrong? Help please.<br />thanks<br />kavehAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8781383461061929571.post-77360126391022322010-07-27T16:48:13.762-04:002010-07-27T16:48:13.762-04:00Turns out I ended up putting the alias and export ...Turns out I ended up putting the alias and export in .bashrc after all. Just installed the academic version of CPLEX Studio 12.2 (CPLEX, OPL, CPOptimizer on Linux, same plus OPL Studio on Windows). I also bit the bullet and put the access.ilm file (a separate download) in its default location (/usr/ilog/ilm), which means I don't need to screw around exporting its location.Paul A. Rubinhttps://www.blogger.com/profile/05801891157261357482noreply@blogger.com