For Coursera's Discrete Optimization course.
My first time working with PyO3 and maturin to build rust libraries that I can call from python -- quite a treat!
Working well with homebrew python, but having trouble with pyenv (possibly because I use a framework install) and the MacOS system python.
- python3 -m venv .venv && source ./.venv/bin/activate
- pip install --upgrade pip maturin
- maturin develop
- cargo test --no-default-features
- ./solver.py ./data/ks_4_0
Seemed to be working fine