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.
- 1 Contents of this Manual
- 2 Prerequisites
- 3 Installing TOMLAB /CPLEX
- 4 Using the Matlab Interface
- 5 Callbacks in Matlab
- 6 Test Routines in Non-Tomlab Format
- 7 Test Routines in TOMLAB Format
- 8 Appendix A: The Matlab Interface Routines - Main Routines
- 9 Appendix B: The Matlab Interface Routines - Utility Routines
- 10 Appendix C: The Matlab Interface Routines - Test Routines
- 11 Appendix D: The Matlab Interface Routines - Callback Routines
- 12 Appendix E: TOMLAB /CPLEX Network Solver
- 13 Appendix F: Conflict refiner, IIS, SA and Warm Start
- 14 Appendix G: CPLEX Parameters Interface
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.