Translated Mosel examples
The subdirectory mosel_examples of the Python examples directory contains a few examples from the Mosel distribution that were adapted to the Xpress Python interface:
- blend.py, blend2.py: variants of an oil blending optimization model;
- burglari.py, burglar.py, burglarl.py, burglar_rec.py: several variants of the knapsack problem
- catenary.py: optimization model for finding the position of all elements of a hanging chain
- chess.py, chess2.py: two variants on the simple problem of production management;
- coco.py: Multiperiod production planning problem;
- complex_test.py: an example of complex numbers (a native type in Python
- fstns.py: the problem of firestation siting;
- date_test.py: an example of dates using the datatime module;
- pplan.py: a production planning example;
- trans.py: a transportation problem.