The ILOG software (CPLEX and AMPL) is intended for use in courses and research at Rensselaer. The current version is CPLEX 11.0, as of May 2008. Before you can install ILOG you must obtain permission from Prof. John Mitchell (email), so that your RCSid can be added to appropriate groups.
Instructions for installing CPLEX 9.1 are available here.
Remember:
If you are not on campus, you will need to be running Cisco VPN to be able to download the software.
Choose your operating system: Windows | Mac OS X or Linux or Unix
To install ILOG on your PC running Windows 2000 or XP
or Vista,
follow these steps: 1. Under Windows 2000 or XP
or Vista, log into the PC using a Windows login ID. Windows 2000 and XP
or Vista allow you to specify your RCS userID and password later when you mount a network drive. 2. Mount \\sambasrv\swinstall as a drive on your PC. a. Note the IP address. The IP address has a form like 128.113.26.44. b. Replace "sambasrv" in the Path: field with its actual IP address (e.g., \\128.113.26.44\swinstall). c. Try to mount the network drive again using the numeric path. Double-click the My Computer desktop icon to open it. Inside, you should have an icon labeled swinstall on 'sambasrv'. Double-click this icon to open the drive. 3. Open the ILOG folder.
4. Open the folder cplex,
then open the folder 11,
and then open the folder corresponding to your operating system
(either win32 or win64).
Open the installation executable (the only file in the folder). 5. Follow the prompts to install cplex.
It is suggested that you place cplex in a folder called ilog.
6. To install AMPL,
you need to click back on the network drive to the ILOG folder.
Select the
AMPL folder.
Open the folder 11
and then the folder corresponding to your operating system.
Open the installation executable (the only file in the folder). 7. Follow the prompts to install ampl.
You may want to place it in the ILOG folder you created earlier for cplex.
8. You also need to download the license file, so
click back on the network drive to the AMPL folder.
Select the
11 folder and then the common folder.
Copy the access.ilm file to your desktop.
9. To activate the license,
you need to copy the file: access.ilm to the folder C:\ILOG.
Then create the following system variable ILOG_LICENSE_FILE
with the value equal to C:\ILOG\access.ilm.
You create the system variable by opening up ‘System’
in the Control Panel.
You can also add cplex and ampl to your path at this time. 10. Please disconnect \\sambasrv\swinstall as a drive on your PC so others can access the files. To disconnect the \\sambasrv\swinstall drive, right click on the My Computer desktop icon and, in the pop-up menu that appears, select Disconnect Network Drive.... A Disconnect Network Drive window appears. Left click on \\sambasrv\swinstall to select it. Click OK. 11. Restart your computer system
so that the new environment change takes effect. If you have any questions or problems, please contact the Help Desk in the Voorhees Computing Center (276-7777, consult@rpi.edu). The CPLEX and AMPL manuals
were included in
the material you downloaded. For additional help with installing
CPLEX, look for the file gscplex.pdf or the
folder gscplex, which give details on
getting started with CPLEX.
Linux, Mac, and other Unix
versions of CPLEX, AMPL, and OPL can be found on the same server
as the Windows versions.
The Mac version is only available for Apple computers using Intel processors.
In particular, you should connect to:
Clicking on ilog then on cplex and then on 11 will
bring you to the distribution:
choose the appropriate folder corresponding to your operating system.
You can find gzipped and tarred versions of the executable.
To download ampl,
back up to the ilog folder.
Then click on ampl and then on 11 to
get to the distribution:
choose the appropriate folder corresponding to your operating system.
Note that you will need to download the access.ilm
file from the ampl/11/common folder.
You will need to set a variable ILOG_LICENSE_FILE to serve
as a pointer to this file.
This can probably be done by adding the following line
to your .bashrc or similar file: The CPLEX and AMPL manuals
were included in
the material you downloaded. For additional help with installing
CPLEX, look for the file gscplex.pdf or the
folder gscplex, which give details on
getting started with CPLEX. Return to
information about AMPL.
Before mapping a network drive to sambasrv, you must enable plain text passwords. Go http://helpdesk.rpi.edu and select “connect to sambasrv?” in the Quick Links drop down menu. See the Updating the registry for plain text passwords section for information on how to enable plain text passwords.
To map the drive, right click on the My Computer desktop icon and, in the pop-up menu that appears, select Map Network Drive....
A Map Network Drive window comes up. Fill in the Path: field by typing \\sambasrv\swinstall and make sure the Reconnect at logon box is not selected or checked. Click OK.
Provide your RCS userID and password if you are asked for a logon ID or password.
If the network path is not found or the connection fails, try this.
Open a command line (DOS) window and enter: nslookup sambasrv.rpi.eduInstalling
ILOG in Unix systems
smb://sambasrv.rpi.edu/swinstall
export ILOG_LICENSE_FILE=~/access.ilm
This line should be modified to reflect the proper path to your copy
of the access.ilm file.
For example, if you create a folder Ilog within
your Applications folder in
Mac OSX and if you place the file
access.ilm and the folders ampl20080102.cplex110
and cplex1101.x86darwin directly in that folder, then
adding the following lines to your .bashrc should
enable you to run cplex and ampl from a terminal window:
PATH=$PATH:/Applications/Ilog/ampl20080102.cplex110
PATH=$PATH:/Applications/Ilog/cplex1101.x86darwin/cplex110/bin/x86_darwin8_gcc4.0
export ILOG_LICENSE_FILE=/Applications/Ilog/access.ilm
NOTE: Modifying your .bashrc can have nasty consequences.
Therefore, before you logout, type
source .bashrc
to make sure you haven't damaged your .bashrc