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

Method type

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

Source from the content-addressed store, hash-verified

181 return self.instance.get("vehicles", self.num_locations - 1)
182
183 def type(self) -> str:
184 return self.instance.get("type", "")
185
186 def edge_weight(self) -> np.ndarray:
187 return self.round_func(self.instance["edge_weight"])

Callers 1

_distance_matricesMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected