Skip to content
#

negative-weights

Here are 4 public repositories matching this topic...

Language: All
Filter by language

Exact shortest paths with negative edge weights (e.g. EV energy with regenerative braking) using Customizable Contraction Hierarchies — no Bellman–Ford, no potentials. Includes negative-cycle detection, live updates, a battery-constrained variant, baselines (Johnson, ALT, bidirectional A*), and DIMACS benchmarks. Pure Python.

  • Updated Sep 28, 2026
  • Python

Add this topic to your repo

To associate your repository with the negative-weights topic, visit your repo's landing page and select "manage topics."

Learn more