preloader
  • Home
  • IBM ILOG CPLEX Optimization Studio: Installation on HSUper

This guide provides detailed instructions on installing IBM ILOG CPLEX Optimization Studio on HSUper, including starting it via oplrun, cplex, or cpoptimizer.

IBM ILOG CPLEX Optimization Studio: Installation on HSUper

Obtain the IBM ILOG CPLEX Optimization Studio software

Install IBM ILOG CPLEX Optimization Studio on HSUper

  • Copy downloaded IBM ILOG CPLEX Optimization Studio software, e.g., cplex_studio2211.linux_x86_64.bin to HSUper, e.g., via MobaXterm (only on Windows) or via the scp command.
  • Enter pwd in the terminal to see the current folder (i.e., your home folder) and copy/remember this path since it is needed during the installation.
  • Enter bash cplex_studio2211.linux_x86_64.bin in the terminal to install the IBM ILOG CPLEX Optimization Studio software. You are not allowed to use the default install folder /opt/ibm/ILOG/CPLEX_Studio2211, i.e., use instead for example your home folder (which can be seen by entering pwd in the terminal) and expand this path for example by /CPLEX_Studio2211 to create a new folder CPLEX_Studio2211 (if this folder does not already exist). This folder will contain the installed IBM ILOG CPLEX Optimization Studio software.
  • Add the following content (i.e., assuming you used the folder CPLEX_Studio2211 in your home folder for installation) to the end of your .bashrc file (e.g., double left click in MobaXterm on the file to open MobaTextEditor or use the text editors nano or vim):
export PATH=$PATH:$HOME/CPLEX_Studio2211/cplex/bin/x86-64_linux
export PATH=$PATH:$HOME/CPLEX_Studio2211/cpoptimizer/bin/x86-64_linux
export PATH=$PATH:$HOME/CPLEX_Studio2211/opl/bin/x86-64_linux

Save the updated .bashrc file.

  • Logout and login again to HSUper to read the updated content of the .bashrc file.
  • Enter cplex in the terminal to start IBM(R) ILOG(R) CPLEX(R) Interactive Optimizer (to verify that the IBM ILOG CPLEX Optimization Studio installation was succesful) and quit quit or q.
  • Enter cpoptimizer in the terminal to start IBM(R) ILOG(R) CP Interactive Optimizer and quit quit or q.
  • Enter oplrun in the terminal to start oplrun.