Ilog Installation Instructions

The ILOG software (AMPL, CPLEX and OPL) is intended for use in courses and research at Rensselaer Polytechnic Institute. 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, X-6915).

The access.ilm file included in the distribution no longer works.

Remember:

Manuals:

The CPLEX and AMPL manuals are included in the material you download. For additional help with installing CPLEX, look for the file gscplex.pdf or the folder gscplex, which give details on getting started with CPLEX. The AMPL book can be downloaded for free from http://www.ampl.com/BOOK.

A-Installing Ilog on Windows System (32-bit/64-bit)

To install Ilog on your Win 8 (32 or 64-bit), Win 7 (32 or 64-bit), or Vista SP1 or 2 (32 or 64-bit) or Win XP SP3 system, follow these steps:

 

  1. Map \\arcvfs.arc.rpi.edu\software as drive T: on your PC. Here is how:

    Right click on the Computer desktop icon and, in the pop-up menu that appears, select Map Network Drive....

    A Map Network Drive window comes up. Select T: as the drive letter in the Drive: drop-down list box. You can use a different drive letter. Make the appropriate substitution when following the installation instructions.

Fill in the Folder field by typing \\arcvfs.arc.rpi.edu\software

Make sure the Reconnect at logon box is not selected or checked. Click Finish or OK.

Provide your user name and password; enter your RCS UserID preceded by win\ and your RCS password. For example, if the RCS UserID is smithj, then enter win\smithj for the user name.


If the network path is not found or the connection fails, try this.

 

  1. Double-click the Computer desktop icon to open it. Inside, you should have an icon labeled software 'n6060a-cifs.server.rpi.edu ' (T :). Double-click this icon to open the drive.
  2. Open the Ilog folder. Then the ampl folder.
    Open the 11 folder.
    Open the common folder.

Copy the access.ilm file to your computer desktop.

The access.ilm file included in the distribution no longer works.


Go up one folder level to the Ilog folder.

 

  1. Open the 11 folder. Depending on your system, then open either the win64 or win32 folder.

On Windows 8, right-click on ampl110.x64_win64_1.exe icon (or ampl110.x86_win32_1.exe for 32-bit systems) and select Run As Administrator to launch the AMPL installation. Click Run at the Open file Security Warning. Also click Continue at the User Account Control warning.  

 

  1. If asked at the Windows Security, type in your RCS UserID preceded by win\ and your RCS password. For example, if the RCS UserID is smithj, then enter win\smithj for the user name. Be patient while the files are copied.

 

  1. To the Welcome to the AMPL CPLEX 11.0 (x64_win64) window, click Next.

 

  1. In the License Agreement window, check I accept the terms in the License agreement and click Next.

  

  1. In the Choose install location window, accept the default or browse to a different location and then click Next.

 

  1. In the Choose Components window just click Next.

 

  1. In the Installation Summary window, click Install.

 

  1. In the Confirm your installation settings window, click Install.

 

  1. When you see Completing the AMPL CPLEX 11.0 (x64_win64) Setup Wizard click Finish.

 

13.  To activate the license, you need to copy the file: access.ilm to the folder C:\ILOG (selected in step 8). Then create the following system variable ILOG_LICENSE_FILE with the value equal to C:\ILOG\access.ilm.

The access.ilm file included in the distribution no longer works.

 

14.  To use the software you need to be on campus network. From OFF campus, launch the Cisco AnyConnect VPN Client before starting Amp/Cplex.

 

15. Please disconnect \\arcvfs.arc.rpi.edu\software as a drive on your PC so others can access the files.

To disconnect the \\arcvfs.arc.rpi.edu\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 \\arcvfs.arc.rpi.edu\software to select it. Click OK.

 

If you have any questions or problems, please contact the Help Desk in the Voorhees Computing Center (276-7777, consult@rpi.edu).

B-Installing Ilog on Mac systems

Prerequisite: You must have the X11 windowing environment installed in order to use Ilog.  If you are unsure if you have X11 installed,

Open the Applications folder on your hard drive, and then open the Utilities folder.  There should be an icon called "X11". 

If it is not, you can download it directly from: http://www.apple.com

To install Ilog on your MAC system, follow these steps:

(These steps were written using a MAC OS X 10.7.5)

  1. In the Finder, click on the Go menu, then click Connect to Server.
  2. In the Connect To Server dialog box, enter

smb://arcvfs.arc.rpi.edu/software and click Connect.

3.      In the next window, type in RCS UserID for Name and your RCS Password for password.

  1. Make sure Registered User is selected and then click Connect.  For Workgroup/Domain, accept the default.  A new drive will be mounted called software.
  1. Go to the Finder and open the software drive.
    Open the Ilog folder. Then open the 11 folder and finally the mac folder. Copy down the file ampl20080102.cplex110.x86darwin.tar.gz to /Applications/ilog. (You might be prompted for a username and password.  It will be your computer's user name and password). Go a step up to the common folder and copy down the acces.ilm file.
  2. Please disconnect the smb://arcvfs.arc.rpi.edu/software drive so others can access the files. Right click on the software drive and select Eject Software.
  3. From the terminal window, Untar the ampl20080102.cplex110.x86darwin.tar.gz file using the command: tar -xvf ampl20080102.cplex110.x86darwin.tar.gz. You will notice the new file ampl20080102.cplex110.
  4. To run the ampl/cplex software, you need to set the license. One way is to type:
    export ILOG_LICENSE_FILE=/Applications/Ilog/access.ilm

    The access.ilm file included in the distribution no longer works.

    This line could be added to your .bashrc or a similar file, so that it is automatically invoked.
    NOTE: Modifying your .bashrc can have nasty consequences. Therefore, before you logout, type
    source .bashrc
    to make sure you haven't damaged your .bashrc

 

C-Installing Ilog on Linux (32-bit and 64-bit)

I-Availability:

32-bit

 

64-bit

 

 

II-Mounting the software share:

The following steps were written using a system with Ubuntu.

a. Click on file

b. Click on Connect to Server. Fill in the information as follows:

            Service type: Windows Share

            Server:  arcvfs.arc.rpi.edu

            Share: software

            Folder: Ilog

            User Name: (leave blank)

            Domain Name: win.rpi.edu

c. And then click Connect. You will be prompted to type in your RCS UserID and password. For example, if the RCS UserID is smithj, then enter win\smithj for the user name.  You may accept the default (Remember password until you logout) and click Connect).

d. An icon named software on arcvfs.arc.rpi.edu is added to your Desktop.

 

III-Pre Installation:

The access.ilm file included in the distribution no longer works.

a. Create the Ilog installation directory. At command prompt enter:

sudo mkdir  -p  /usr/local/Ilog (you will need to type in your root password). You need to be able to write to this directory.

b. At command prompt enter

cd  /usr/local/Ilog

c. Copy two files to the directory you just created. At command prompt enter:

cp /home/YOURUSERNAME/.gvfs/ software on arcvfs.arc.rpi.edu/arc/Ilog/ampl/11/common/access.ilm

cp /home/YOURUSERNAME/.gvfs/ software on arcvfs.arc.rpi.edu/arc/Ilog/ampl/11/rhelinux64/ampl20080219.cplex110.x64rhel4.tar.gz

 

IV-Installation:

     1-At the command prompt type in:

tar -xvf ampl20080219.cplex110.x64rhel4.tar.gz

 

  1. To run the ampl/cplex software, you need to set the license. One way is to type: export ILOG_LICENSE_FILE=/usr/local/Ilog/access.ilm

3. Please unmount the software on arcvfs.arc.rpi.edu so others can use the files. To unmount the drive, right click on it and

select Unmount Volume.

 

If you have any questions or problems, please contact the Help Desk in the Voorhees Computing Center (276-7777, consult@rpi.edu).