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

Method max_reloads

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

Source from the content-addressed store, hash-verified

307 return self.round_func(np.broadcast_to(max_durations, shape))
308
309 def max_reloads(self) -> np.ndarray:
310 max_reloads = self.instance.get("vehicles_max_reloads", _UINT_MAX)
311 return np.broadcast_to(max_reloads, self.num_vehicles)
312
313 def fixed_costs(self) -> np.ndarray:
314 fixed_costs = self.instance.get("vehicles_fixed_cost", 0)

Callers 1

_vehicle_typesMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected