Installation#

Quick Installation#

pip install maptor

Development Installation#

git clone https://github.com/maptor/maptor.git
cd maptor
pip install -e .

Requirements#

  • Python 3.10+

  • NumPy ≥ 1.18.0

  • SciPy ≥ 1.4.0

  • CasADi ≥ 3.5.0

  • Matplotlib ≥ 3.1.0

Optional Dependencies#

For development:

pip install -e ".[dev]"

This installs additional tools:

  • Ruff (linting and formatting)

  • MyPy (type checking)

  • Pytest (testing)

Verification#

import maptor as mtor
print(f"MAPTOR {mtor.__version__} installed successfully!")

# Run a quick test
problem = mtor.Problem("Test")
print("✓ MAPTOR working correctly!")