pyepo.model.omo.shortestpath
Shortest path problem
Attributes
Classes
This class is an optimization model for the shortest path problem |
Module Contents
- pyepo.model.omo.shortestpath._HAS_PYOMO = True
- class pyepo.model.omo.shortestpath.shortestPathModel(grid, solver='glpk')
Bases:
pyepo.model.omo.omomodel.optOmoModelThis class is an optimization model for the shortest path problem
- _model
Pyomo model
- Type:
Pyomo model
- solver
optimization solver in the background
- Type:
str
- grid
size of grid network
- Type:
tuple of int
- arcs
list of arcs
- Type:
list
- grid
- arcs = []
- _getModel()
A method to build Pyomo model
- pyepo.model.omo.shortestpath.cost