Installation Guide
The DuaLip project is distributed as a Python package. We recommend Python 3.9 or newer and using a virtual environment.
Create and activate a virtual environment (recommended):
python3 -m venv .venv
source .venv/bin/activate
Development install (editable with tooling):
make install # installs -e .[dev] and sets up pre-commit hooks
Run tests:
make test # or: pytest
Code style and lint:
make checkstyle # runs black, isort, flake8 via pre-commit
Basic usage:
import dualip
For detailed usage please see the The DuaLip Solver and the Demo.