Installing CPLEX Optimization Studio

Describes installation on different platforms.

Installing on Windows

Launch the IBM® ILOG® CPLEX® Optimization Studio installer by double-clicking the executable in Windows Explorer. You need to have Administrator privileges to install in the default location. Depending on your user profile, you may need to launch the installer by selecting Run as Administrator from the context menu, usually accessed by a right click on the executable. The installer guides you through the choices for installation.

On Windows, the default installation location of IBM ILOG CPLEX Optimization Studio is:

C:\Program Files\IBM\ILOG\CPLEX_Studio2212

The installation location of the Community Edition is:

C:\Program Files\IBM\ILOG\CPLEX_Studio_Community2212

During installation you may have selected a different location, which will be referred to as [install_dir] in the rest of this topic.

Note: Important information

CPLEX Optimization Studio is delivered on the Windows platform as a single port. That port, named x64_windows_msvc14, is compatible with Visual Studio 2019 and Visual Studio 2022. For more details about the compatibility of Visual Studio versions with each other, please refer to https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=vs-2019.

This product requires the Microsoft Visual C++ Redistributable package (x64 version). You can download this package here: https://aka.ms/vs/17/release/vc_redist.x64.exe.

IDE

You can launch the IDE using a Start Menu entry:

Start > All apps > CPLEX Optimization Studio 22.1.2 > CPLEX Studio IDE 22.1.2

For the Community edition:

Start > All apps > CPLEX Optimization Studio Community Edition 22.1.2 > CPLEX Studio IDE 22.1.2

More information

For more information on the CPLEX Optimizers on the Windows platform, see

[install_dir]\cplex\readmeWindows.html

For more information on the CP Optimizer on the Windows platform, see

[install_dir]\cpoptimizer\readmeWindows.html

Installing on Linux

The Linux installer is an executable file. To launch an installation, the file should have execute permission and should be executed from the command line. For example, issue the command ./<installname>.bin, where <installname> is the name of the installer. You can give a file execute permission with the command chmod u+x <installname>.bin.

On Linux, the default installation location of IBM ILOG CPLEX Optimization Studio is:

/opt/ibm/ILOG/CPLEX_Studio2212

The installation location of the Community Edition is:

/opt/ibm/ILOG/CPLEX_Studio_Community2212

During installation you may have selected a different installation location ([install_dir]).

IDE

You can launch the IDE from a Linux terminal.

  1. Open a terminal Window.
  2. Change the directory to [install_dir]/opl/oplide.

  3. Enter the command ./oplide.

Or, from any terminal location, type the absolute path:

[install_dir]/opl/oplide/oplide

More information

For more information on the CPLEX Optimizers on the Linux platform, see

[install_dir]/cplex/readmeUNIX.html

For more information on the CP Optimizer on the Linux platform, see

[install_dir]/cpoptimizer/readmeUnix.html

Installing on macOS

  1. Double-click to unzip the cos_installer <version>-osx.zip
  2. Double-click the cplex_studio<version>-osx.pkg and the installer guides you through the installation.

On macOS, the default installation location of IBM ILOG CPLEX Optimization Studio is:

~/Applications/CPLEX_Studio2212 (or /Users/[user_id]/Applications/CPLEX_Studio2212)

The installation location of the Community Edition is:

~/Applications/CPLEX_Studio_Community2212 (or /Users/[user_id]/Applications/CPLEX_Studio_Community2212)

IDE

You can launch the IDE from the Finder: [install_dir]/opl/oplide/Oplide

More information

For more information on the CPLEX Optimizers on the macOS platform, see

[install_dir]/cplex/readmeUNIX.html

For more information on the CP Optimizer on the macOS platform, see

[install_dir]/cpoptimizer/readmeUnix.html