MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / depots

Method depots

pyvrp/Model.py:121–125  ·  view source on GitHub ↗

Returns all depots currently in the model.

(self)

Source from the content-addressed store, hash-verified

119
120 @property
121 def depots(self) -> list[Depot]:
122 """
123 Returns all depots currently in the model.
124 """
125 return self._depots
126
127 @property
128 def locations(self) -> list[Client | Depot]:

Callers 7

from_dataMethod · 0.80
PYBIND11_MODULEFunction · 0.80
test_multiple_depotsFunction · 0.80
test_mdvrptw_instanceFunction · 0.80

Calls

no outgoing calls

Tested by 5

test_multiple_depotsFunction · 0.64
test_mdvrptw_instanceFunction · 0.64