pyepo.model.copt.shortestpath

Shortest path problem

Attributes

cost

Classes

shortestPathModel

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.optCoptModel

This 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