Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 859 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 859 Bytes

Nextmv Python OR-Tools Knapsack Multi-CSV

Example for running a Python application on the Nextmv Platform using the OR-Tools package and multiple CSV files. We solve a knapsack Mixed Integer Programming problem.

  1. Install packages.

    • With pip

      pip install .
    • With uv

      uv sync
  2. Run the app.

    • With python

      python main.py
    • With uv

      uv run main.py

      Or with custom options:

      uv run main.py -duration 30 -provider SCIP

Next steps

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