pyepo.model.mpax.shortestpath ============================= .. py:module:: pyepo.model.mpax.shortestpath .. autoapi-nested-parse:: Shortest path problem Attributes ---------- .. autoapisummary:: pyepo.model.mpax.shortestpath.jnp Classes ------- .. autoapisummary:: pyepo.model.mpax.shortestpath.shortestPathModel Module Contents --------------- .. py:data:: jnp :value: None .. py:class:: shortestPathModel(grid: tuple[int, int], *args, **kwargs) Bases: :py:obj:`pyepo.model.bases.shortestPathBase`, :py:obj:`pyepo.model.mpax.mpaxmodel.optMpaxModel` MPAX-backed (JAX LP) shortest path on a grid network. :ivar grid: Size of grid network :vartype grid: tuple of int :ivar arcs: List of arcs :vartype arcs: list .. py:attribute:: use_sparse_matrix :value: True