pyepo.model.grb.shortestpath

Shortest path problem

Attributes

Classes

shortestPathModel

Gurobi-backed shortest path on a grid network.

Module Contents

class pyepo.model.grb.shortestpath.shortestPathModel(grid: tuple[int, int], *args, **kwargs)

Bases: pyepo.model.bases.shortestPathBase, pyepo.model.grb.grbmodel.optGrbModel

Gurobi-backed shortest path on a grid network.

Variables:
  • _model (GurobiPy model) – Gurobi model

  • grid (tuple of int) – Size of grid network

  • arcs (list) – List of arcs

pyepo.model.grb.shortestpath.cost