Welcome to the TOMLAB /CPLEX User's Guide. TOMLAB /CPLEX includes the ILOG CPLEX 12.1 (hereafter commonly referred to as CPLEX) solver and Matlab interfaces. The software allows for execution on any number of shared memory cores or cpus on a computer.
The interface between ILOG CPLEX, Matlab and TOMLAB consists of two layers. The first layer gives direct access from Matlab to CPLEX, via calling one Matlab function that calls a pre-compiled MEX file (DLL under Windows, shared library in UNIX) that defines and solves the problem in CPLEX . The second layer is a Matlab function that takes the input in the TOMLAB format, and calls the first layer function. On return the function creates the output in the TOMLAB format.
CPLEX has a whole set of callback routines. There is one predefined Matlab routine for each callback. The user is in control of which ones to use, and should add his own code in Matlab for each callback.
Conflict refining, SA, warm start and solution pool control are supported by in the package.
Contents of this Manual
- Read carefully on how to install TOMLAB /CPLEX.
- Using the Matlab Interface gives the basic information needed to run the Matlab interface.
- The more advanced feature, using callbacks, is described in Callbacks in Matlab.
- Some Matlab test routines are included, described in Test Routines in Non-Tomlab Format and Test Routines in TOMLAB Format. All Matlab routines are described in Appendix A.
- Appendix E describes a special interface for network problems.
- Appendix F defines the features included in IIS (infeasibility analysis) and SA (sensitivity analysis) as well as the warm start functionality.
In this manual we assume that the user is familiar with CPLEX, the CPLEX Reference Manual, TOMLAB and the Matlab language.