Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 641 Bytes

File metadata and controls

27 lines (19 loc) · 641 Bytes

Nextmv Python Xpress Knapsack

Example for running a Python application on the Nextmv Platform using the Xpress solver and community license. 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!