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

Method add_profile

pyvrp/Model.py:348–354  ·  view source on GitHub ↗

Adds a new routing profile to the model.

(self, *, name: str = "")

Source from the content-addressed store, hash-verified

346 return edge
347
348 def add_profile(self, *, name: str = "") -> Profile:
349 """
350 Adds a new routing profile to the model.
351 """
352 profile = Profile(name=name)
353 self._profiles.append(profile)
354 return profile
355
356 def add_vehicle_type(
357 self,

Calls 2

ProfileClass · 0.85
appendMethod · 0.80