Example for running a Python application on the Nextmv Platform using the Xpress solver. We solve a knapsack Mixed Integer Programming problem.
-
Install packages.
pip3 install -r requirements.txt
-
Run the app.
python3 main.py -input input.json -output output.json -duration 30