ILOG Installation Instructions

The ILOG software (CPLEX and AMPL) is intended for use in courses and research at Rensselaer.  Before you can install ILOG you must obtain permission from Prof. John Mitchell (email, X-6915).

Remember:

Installing ILOG

For more information on installing in Linux, click here.

To install ILOG on your PC running Windows 2000 or XP, follow these steps:

1.      Under Windows 2000 or XP, log into the PC using a Windows login ID. Windows 2000 and XP allow you to specify your RCS userID and password later when you mount a network drive.

2.      Mount \\sambasrv\software as a drive on your PC.

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\software   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.edu

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\software).

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 software on 'sambasrv'. Double-click this icon to open the drive.

3.      Open the ILOG folder. You may copy the file access.ilm to your system, you will need it later (step 27).

4.      Open the folder 9.1. and then open the folder winxp. Double click on the Install (Install.exe) icon to launch the ILOG installation.

5.      Select Products from the Main Menu window.

6.      Select ILOG Optimization Suite from the ILog Products Windows

7.      From the Optimization Products select ILOG CPLEX.

8.      Select again ILOG CPLEX. The InstallShield Wizard starts; this may take some time.

9.      In the Welcome window, click Next.

10. Accept the License agreement by selecting the Yes button.

11. In the next screen, you may just accept the default settings, and then click Next.

12. In the Root Directory for the installation, accept the default or click on the Browse button to enter the directory path where you wish ILOG Products will be installed. The folder C:\ILOG\CPLEX91 is recommended. Click Next.

13.  You may install all or just select the items you need depending on your version of Microsoft Visual studio. Then, click Next.

14. When done with Settings Window, Click Next to start the installation.

15. From the next window, click Finish.

16. To install AMPL, you need to click back, and from the Optimization Products, select AMPL CPLEX.

17. From the next screen, select again AMPL CPLEX. The unpacking starts.

18. In the Welcome window, click Next.

19. Accept the License agreement by selecting the Yes button.

20. In the Installation mode, accept the default (Common) and click Next.

21. In the Destination Location window, click on the Browse button to enter the recommended folder C:\ILOG\AMPL91, Click Yes and click Next.

22. In the Components Windows, make sure that AMPL CPLEX System is highlighted and click Next.

23. Click Next in Program Folders Windows.

24. When the installation completes, click on Finish and then Exit. Follow the steps below.

25. Please disconnect \\sambasrv\software as a drive on your PC so others can access the files. To disconnect the \\sambasrv\software 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\software to select it. Click OK.

26. Restart your computer system.       

27. 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.

28. You may need to reboot the 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).

 

Installing ILOG in Linux

Linux versions of CPLEX, AMPL, and OPL can be found on the same server as the Windows XP versions. In particular, you should connect to:
smb://sambasrv.rpi.edu/software

Clicking on ilog then on 9.1 and then on linux will bring you to the distribution.

You can find gzipped and tarred versions of the executables for the three programs.

Note that you will need to download the access.ilm file from the ilog 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:
export ILOG_LICENSE_FILE=~/access.ilm
This line should be modified to reflect the proper path to your copy of the access.ilm file.


Return to information about AMPL.