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

Method release_times

pyvrp/read.py:232–235  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

230 return self.round_func(self.instance["time_window"])
231
232 def release_times(self) -> np.ndarray:
233 release_times = self.instance.get("release_time", 0)
234 shape = self.num_locations
235 return self.round_func(np.broadcast_to(release_times, shape))
236
237 def reload_depots(self) -> list[tuple[int, ...]]:
238 if "vehicles_reload_depot" not in self.instance:

Callers 1

_clientsMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected