Outline
The following chapters cover:
- Creating, handling, solving, and querying optimization problems (Chapter Modeling an optimization problem);
- Using Python numerical libraries such as NumPy to create optimization problems (Chapter Using Python numerical libraries);
- Setting and getting the value of parameters (controls and attributes) of a problem (Chapter Controls and Attributes);
- Using Python functions as callbacks for the Xpress Optimizer and the Xpress Nonlinear solver (Chapter Using Callbacks);
- Several examples of usage of the Xpress Python interface (Chapter Examples of use);
- A reference with all functions and parameters in the Python interface (Chapter Reference Manual).
It is assumed here that the reader has basic understanding of the Python programming language. Ample documentation on Python is available at http://docs.python.org, including a tutorial and a reference manual. Unless specified otherwise, Python 3 is used in all of the examples and code samples throughout this manual. The current version of the Xpress Python interface works on Python 3.4 and subsequent versions and on Python 2.7.