CPLEX Optimizer

From MetaCentrum
Jump to navigation Jump to search

Description

High-performance mathematical programming solver for linear programming, mixed integer programming, and quadratic programming

License

IBM Academic Initiative License

You have to accept a licence agreement to use this program.

Usage

Upcoming modulesystem change alert!

Due to large number of applications and their versions it is not practical to keep them explicitly listed at our wiki pages. Therefore an upgrade of modulefiles is underway. A feature of this upgrade will be the existence of default module for every application. This default choice does not need version number and it will load some (usually latest) version.

You can test the new version now by adding a line

source /cvmfs/software.metacentrum.cz/modulefiles/5.1.0/loadmodules

to your script before loading a module. Then, you can list all versions of cplex and load default version of cplex as

module avail cplex/ # list available modules
module load cplex   # load (default) module


If you wish to keep up to the current system, it is still possible. Simply list all modules by

module avail cplex

and choose explicit version you want to use.

Parallel run

CPLEX utilizes OpenMP system (parallelization through many processor cores in one machine). You can restrict the number of cores by set up of system variable OMP_NUM_THREADS, for example:

export OMP_NUM_THREADS=$PBS_NUM_PPN 

which uses the number of processors granted by planning system. You can also restrict the number of cores directly in the program by set up a proper directive in .mod file:

execute{
  cplex.threads = XXX;
}

Documentation

Documentation is available in html starting in file /software/cplex-126/doc/html/en-US/documentation.html. You can find a tutorial in /software/cplex-126/doc/tutorial/SPSS_Connector.pdf.

Homepage

http://www-01.ibm.com/software/commerce/optimization/cplex-optimizer/