Python examples using the Xpress Optimizer
Covered Topics
- Using NumPy arrays to create variables
- Visualize the BB tree
- Irreducible Infeasible Sets
- Loading a problem
- Modeling with user functions
- Using Python model objects to build a problem
- Changing the optimization problem
- Extending a problem
- Using NumPy and Xpress
- Minimizing distance from constraints
- Solving a quadratically constrained problem
- Solving a nonconvex quadratic problem
- Solving a quadratically problem
- Repeatedly solving a problem
- Using indicators
- The travelling salesman problem
- Writing and reading problem files
- The feasiblity pump
- Knapsack problem
- The n-queens problem
- Min-cost-flow problem
- Solving Sudoku
Parent Topic
Examples of using the Python interface