Skip to content

BatyLeo/ConstrainedShortestPaths.jl

Repository files navigation

ConstrainedShortestPaths.jl

Stable Dev Build Status Coverage Code Style: Blue

Overview

This package implements algorithms for solving (resource) Constrained Shortest Paths problems. It implements a generalized A star algorithm with label dominance and optional bounding. It is currently restricted to acyclic directed graphs. Reference: https://arxiv.org/abs/1504.07880.

Let $D=(V, A)$ an acyclic directed graph, $o, d\in V$ origin and destination vertices, $c$ a cost function, and $\mathcal{P} \subset \mathcal{P}_{od}$ a subset of $o-d$ paths in $G$. This package can compute the corresponding constrained shortest path:

$$ \boxed{\begin{aligned} P^\star = \arg\min\quad & c(P)\\ \text{s.t.}\quad & P\in \mathcal{P} \end{aligned}} $$

See the documentation for more details.

Installation

To install this package, open a julia REPL and run the following command:

]add ConstrainedShortestPaths
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy