Wiki Markup |
---|
{composition-setup |
Warning | ||
---|---|---|
| ||
This page is still under construction, but should be usable. |
...
} {composition-setup} {warning:title=Warning} This page is still under construction, but should be usable. {warning} These instructions were lasted tested on Mac OS X version 10.6.8 on January 2, 2013. Undoubtedly, they will become outdated, so use them with caution after the course ends. |
...
h1. Ensure that you have 64 bit OS X |
...
According to [this website|http://www.stata.com/support/faqs/windows/64-bit-compliance/], all Macs on OS X 10.5 or greater have a 64 bit operating system and a 64 bit processor, so if your Mac is from [2007 or later|http://en.wikipedia.org/wiki/OS_X#Version_10.5:_.22Leopard.22] then you will probably be fine. If your Mac is from before 2007, you would need an earlier version of Cplex than the one that we require. Instructions to check which version of OS X you have are given in the first link. |
...
{excerpt-include |
...
:Bits |
...
Get Java
OS X comes with Java installed, so you should already have it.
...
Get Eclipse
Download 64-bit Eclipse from here. Install?? and open the program. When the program opens, it will ask you to select a workspace. This is the location on your computer where the source code for all of your java projects will be stored. The default on my computer was
Excerpt|nopanel=true} h1. Get Java OS X comes with Java installed, so you should already have it. {excerpt-include:Java Excerpt|nopanel=true} h1. Get Eclipse Download 64-bit Eclipse from [here|http://www.eclipse.org/downloads/]. Install?? and open the program. When the program opens, it will ask you to select a workspace. This is the location on your computer where the source code for all of your java projects will be stored. The default on my computer was /Users/<yourusername>/Applications/IBM/ILOG/CPLEX_Studio125/ |
...
but you can change this to be stored anywhere. |
...
{excerpt-include |
...
:Eclipse |
...
Get Cplex
Excerpt|nopanel=true} h1. Get Cplex {excerpt-include |
...
:Cplex |
...
Select
IBM ILOG CPLEX Optimization Studio V12.5 for Mac OS 10 Multilingual (CIC4UML)
Scroll to the bottom and accept the licence agreement, then hit download. A java applet will pop up to manage the download. If you get an error in the applet saying your java is out of date and a second pop up, hit OK until the second pop up goes away then it Run anyway on the applet. Again, if you can't get the applet to work, just select Http Transfer instead of Download Director as the Download Method. The download could take as long as half an hour.
When the download has finished, run the .bin file from the download. The Download Director will indicate the directory where the final was downloaded. On my machine, the default location (I used Firefox and did not use the Download Director) was
Excerpt|nopanel=true} Select {{IBM ILOG CPLEX Optimization Studio V12.5 for Mac OS 10 Multilingual (CIC4UML)}} Scroll to the bottom and accept the licence agreement, then hit download. A java applet will pop up to manage the download. If you get an error in the applet saying your java is out of date and a second pop up, hit _OK_ until the second pop up goes away then it _Run anyway_ on the applet. Again, if you can't get the applet to work, just select _Http Transfer_ instead of _Download Director_ as the _Download Method_. The download could take as long as half an hour. When the download has finished, run the .bin file from the download. The _Download Director_ will indicate the directory where the final was downloaded. On my machine, the default location (I used Firefox and did not use the _Download Director_) was {{/Users/angela/Downloads/cplex_studio125.macos.bin |
...
}} To run the file, you first must make it executable. *From a terminal*, simply go to the directory where the file is located, then type {{chmod a+x cplex_studio125.macos.bin}}. To run the file, from a terminal in the directory of the file, type {{sudo ./cplex_studio125.macos.bin}}. Be sure to run as root, otherwise you will not have permission to install in the default directory. |
...
Note the directory of installation. The default on my machine was: |
...
{{/Users/angela/Applications/IBM/ILOG/CPLEX_Studio125}} |