Installation and setup

After completing this module the student should:


DTU (and other universities) have an agreement with IBM called academic initiative. For this reason this e-learning course will use CPLEX with OPL Studio as an interface. Alternative solutions include Gurobi, Xpress and the free solution Scip.

Obtaining OPL Studio/Cplex

Cplex and OPL Studio are provided under the terms specified in Agreement for IBM Academic Initiative. To get access to the software you have to contact the lecturer in the course in which you need to use the software. You will be asked to sign a slip of paper stating that you have read and accept the agreement linked above.

Cplex is available for Windows, Mac and Linux though the degree of features available varies.

Windows

In Windows all features are available, and you can choose between a 32 and a 64 bit binary. You are strongly encouraged to use the 64 bit version if your computer supports it. 64 bit support should be nearly universal on all but the very very old computers.

In Windows 8 and above, some trouble can arise when installing some versions of OPL Studio. If the installation fails, you should execute the installer as administrator and in compatibility mode with Windows 7.

Mac

There are binaries available for Macs, but the GUI is not working, and installing in a virtual machine, or using an emulation layer is strongly encouraged.

If you need a license for Windows to do this, consider using Dreamspark where you may legally obtain a copy of Windows.

Linux

Under Linux all features work except integration with excel. That means that data cannot be provided via a speadsheet.

Installation is done using a shell. First go to the directory containing your installer:

cd <directory>

If the executable is not marked as executable, you might have to mark it as such:

chmod +x <executable>

If you want to install into the /opt folder (recommended), you will need root priviledges.

sudo ./<executable>

otherwise you can use:

./<executable>

You should then follow the onscreen instructions.