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.5-3.8 and on Python 2.7.
Other components of the FICO-Xpress Optimization suite can interface with Python, albeit not the same Python versions. The Mosel module python3, for example, works with Python 3.4.3 or later. See the Mosel Language Reference Manual for specifics, and more in general the Xpress Insight Installation Guide, Appendix A: Supported Platforms for information on Python support.
© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.