pyepo.model.omo.shortestpath ============================ .. py:module:: pyepo.model.omo.shortestpath .. autoapi-nested-parse:: Shortest path problem Classes ------- .. autoapisummary:: pyepo.model.omo.shortestpath.shortestPathModel Module Contents --------------- .. py:class:: shortestPathModel(grid: tuple[int, int], solver: str = 'glpk') Bases: :py:obj:`pyepo.model.bases.shortestPathBase`, :py:obj:`pyepo.model.omo.omomodel.optOmoModel` Pyomo-backed shortest path on a grid network. :ivar _model: Pyomo model :vartype _model: Pyomo model :ivar solver: optimization solver in the background :vartype solver: str :ivar grid: Size of grid network :vartype grid: tuple of int :ivar arcs: List of arcs :vartype arcs: list