pyepo.model.copt.shortestpath
Shortest path problem
Attributes
Classes
This class is an optimization model for the shortest path problem |
Module Contents
- class pyepo.model.copt.shortestpath.shortestPathModel(grid)
Bases:
pyepo.model.copt.coptmodel.optCoptModelThis class is an optimization model for the shortest path problem
- _model
COPT model
- Type:
COPT model
- grid
size of grid network
- Type:
tuple of int
- arcs
list of arcs
- Type:
list
- grid
- arcs = []
- _getModel()
A method to build COPT model
- pyepo.model.copt.shortestpath.cost