TOMLAB /Xpress includes an embedded license for XpressM P and the TOMLAB interfaces developed as part of the package.
The interface between XpressM P, Matlab and TOMLAB has been designed at two layers. The first layer gives direct access from Matlab to XpressM P, via calling one Matlab function that calls a pre-compiled DLL (or lib in Unix) that defines and runs the problem in XpressM P. 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.
XpressM P 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. As default only the User Output Callback is called, that prints Error and Warning messages.
- 1 Contents of this Manual
- 2 Prerequisite
- 3 Installation of TOMLAB /Xpress
- 4 Using the Matlab Interface
- 5 Callbacks in Matlab
- 6 Test Routines in Non-Tomlab Format
- 7 Test Routines in Tomlab Format
- 8 xpControl - Control Parameters
- 9 xpProblemAttrib - Problem Attributes
- 10 Return Codes
- 11 Appendix A - The Matlab Interface Routines - Main Routines
- 12 Appendix B - The Matlab Interface Routines - Utility Routines
- 13 Appendix C - The Matlab Interface Routines - Test Routines
- 14 Appendix D - The Matlab Interface Routines - Callback Routines
- 15 Appendix E - IIS and SA
Contents of this Manual
Read carefully Installation of TOMLAB /Xpress on how to install the interface. 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.
In this manual we assume that the user is familiar with XpressMP TOMLAB and the Matlab language.