Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 619 Bytes

File metadata and controls

26 lines (18 loc) · 619 Bytes

Nextmv Python Xpress Knapsack

Example for running a Python application on the Nextmv Platform using the Xpress solver. We solve a knapsack Mixed Integer Programming problem.

  1. Install packages.

    pip3 install -r requirements.txt
  2. Run the app.

    python3 main.py -input input.json -output output.json -duration 30

Next steps

  • Open main.py and modify the model.
  • Visit our docs and blog. Need more assistance? Contact us!