pyepo.model.copt.shortestpath

Shortest path problem

Attributes

Classes

shortestPathModel

COPT-backed shortest path on a grid network.

Module Contents

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

Bases: pyepo.model.bases.shortestPathBase, pyepo.model.copt.coptmodel.optCoptModel

COPT-backed shortest path on a grid network.

Variables:
  • _model (COPT model) – COPT model

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

  • arcs (list) – List of arcs

pyepo.model.copt.shortestpath.cost