nextroute 1.9.0__cp39-cp39-macosx_13_0_x86_64.whl → 1.10.0__cp39-cp39-macosx_13_0_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nextroute might be problematic. Click here for more details.

nextroute/__about__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  # © 2019-present nextmv.io inc
2
2
 
3
- __version__ = "v1.9.0"
3
+ __version__ = "v1.10.0"
Binary file
nextroute/schema/input.py CHANGED
@@ -30,8 +30,10 @@ class DurationGroup(BaseModel):
30
30
  group: List[str]
31
31
  """Stop IDs contained in the group."""
32
32
 
33
+
33
34
  class MatrixTimeFrame(BaseModel):
34
35
  """Represents a time-dependent duration matrix or scaling factor."""
36
+
35
37
  start_time: datetime
36
38
  """Start time of the time frame."""
37
39
  end_time: datetime
@@ -41,8 +43,10 @@ class MatrixTimeFrame(BaseModel):
41
43
  scaling_factor: Optional[float] = None
42
44
  """Scaling factor for the time frame."""
43
45
 
46
+
44
47
  class TimeDependentMatrix(BaseModel):
45
48
  """Represents time-dependent duration matrices."""
49
+
46
50
  vehicle_ids: Optional[List[str]] = None
47
51
  """Vehicle IDs for which the duration matrix is defined."""
48
52
  default_matrix: List[List[float]]
@@ -67,9 +71,15 @@ class Input(BaseModel):
67
71
  """Default values for vehicles and stops."""
68
72
  distance_matrix: Optional[List[List[float]]] = None
69
73
  """Matrix of travel distances in meters between stops."""
70
- duratrion_groups: Optional[List[DurationGroup]] = None
74
+ duration_groups: Optional[List[DurationGroup]] = None
71
75
  """Duration in seconds added when approaching the group."""
72
- duration_matrix: Optional[Union[List[List[float]], TimeDependentMatrix, List[TimeDependentMatrix]]] = None
76
+ duration_matrix: Optional[
77
+ Union[
78
+ List[List[float]],
79
+ TimeDependentMatrix,
80
+ List[TimeDependentMatrix],
81
+ ]
82
+ ] = None
73
83
  """Matrix of travel durations in seconds between stops as a single matrix or duration matrices."""
74
84
  options: Optional[Any] = None
75
85
  """Arbitrary options."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nextroute
3
- Version: 1.9.0
3
+ Version: 1.10.0
4
4
  Summary: Nextroute is an engine for solving Vehicle Routing Problems (VRPs).
5
5
  Author-email: Nextmv <tech@nextmv.io>
6
6
  Maintainer-email: Nextmv <tech@nextmv.io>
@@ -1,3 +1,8 @@
1
+ nextroute-1.10.0.dist-info/RECORD,,
2
+ nextroute-1.10.0.dist-info/LICENSE,sha256=ElKAl6B15yj4LTFL_Dh1hje431kMHut2urxo5nheRWs,4107
3
+ nextroute-1.10.0.dist-info/WHEEL,sha256=xe90SRX7QSJt3ELEuwUcqfGtpMKjlABrIqqKWu7wmsY,109
4
+ nextroute-1.10.0.dist-info/top_level.txt,sha256=KNsuo1j7tr-QvBFS_ELmo68OmJ-orEZiOXqstGLJDXA,16
5
+ nextroute-1.10.0.dist-info/METADATA,sha256=HG7EkXGGkA6Is6NXCcI8Z1m6g6G7V98_9e-2GtAMk4c,15539
1
6
  tests/solve_golden/__init__.py,sha256=MRZbyX5fYnxsXV0YP6lf32c5YYMo3NsEFqPwdwf5W18,32
2
7
  tests/solve_golden/main.py,sha256=N8QTju8Iq2ip6XVn1PxcoaVY1N-GzOJUhDH31blV2Ro,1545
3
8
  tests/schema/test_input.py,sha256=kNIlUFqCkvvQieuJIo7-6C_NB9PZqZ72NpGwUWtDZcA,1851
@@ -7,20 +12,15 @@ nextroute/options.py,sha256=a6tiIWWmLSgGjQKVA2ASPMzDEQl9G6Dx6jp4lbRy_kQ,7541
7
12
  nextroute/version.py,sha256=aA_wmIifNRCzxBigX4cSz1Y2CdXvuBNIiY7Nem5UqRA,325
8
13
  nextroute/__init__.py,sha256=wBHS73T_Mm2MfcEx4chZCI1QMbV-a1D7bw7megFLgb4,529
9
14
  nextroute/base_model.py,sha256=Jl205oJZvndkY8rIomZD2k5YhlGgRBn_2I1BKwQ8Vkk,541
10
- nextroute/__about__.py,sha256=U1pxvyLFkD4O3VhTgUaCG7UfPqZfRGr_Wpa7eY5Fah0,56
15
+ nextroute/__about__.py,sha256=an8dKYMl95LjL606W0wr72c2PaTFOGaCBBLYnPpP41M,57
11
16
  nextroute/solve.py,sha256=It1kDEdFk_AXX-gEUjvQbc7C-0ma9bEPRbnC_bHMsUU,4192
12
- nextroute/bin/nextroute.exe,sha256=UwXRBVRGjMBocK0YSBxRpVuvj64R51Kk1kZa7gTTbyE,14077856
17
+ nextroute/bin/nextroute.exe,sha256=oDHN-u0IODAEk12ZkAXEHdF7iE2wGsqQC7T00phR9XY,14077840
13
18
  nextroute/schema/stop.py,sha256=leKhNC0rcEo64NMNofDuVYnfDNLaqfLZ-mSxUEAwoZk,2199
14
19
  nextroute/schema/vehicle.py,sha256=0W3q-upCn5yEUDX2BBeq5TkOCsrlLsk3Wao-T74nDmU,2535
15
20
  nextroute/schema/__init__.py,sha256=KSlnpJQMnCDq5IXyiltt9CiafcxUH40B3FdE1fc5wdI,1167
16
21
  nextroute/schema/location.py,sha256=hihllMU3IXxQHugGC4Wn_TzDPr5zm4xqVqRsKanwrmA,301
17
- nextroute/schema/input.py,sha256=-WhVr1ZOCPMMJlXSjyohgY4UMFxmjoKCyyEpF4ZZ0o8,2792
22
+ nextroute/schema/input.py,sha256=uidXX_hpv1KpiIUCc_XhiiQf69vxiav9DsXfiLtpD2s,2856
18
23
  nextroute/schema/statistics.py,sha256=lNlb1mcpR6xWQclG-fkDMnFoy-sEKpXKk80zU1TKrpQ,3600
19
24
  nextroute/schema/output.py,sha256=rJv_PpP0X0MdLTRa2tbDsLLbGhTRi43hGmMNmzvNZEw,4810
20
25
  nextroute/check/__init__.py,sha256=Hrw5LUqdMeaBEsoIrJmWDhmAKAzGuzDnoBExwNWJvlU,1303
21
26
  nextroute/check/schema.py,sha256=hBC0Usw4_rEJHsWDxDtIi0-d6byXt8f9eYqBE9hqiCc,5853
22
- nextroute-1.9.0.dist-info/RECORD,,
23
- nextroute-1.9.0.dist-info/LICENSE,sha256=ElKAl6B15yj4LTFL_Dh1hje431kMHut2urxo5nheRWs,4107
24
- nextroute-1.9.0.dist-info/WHEEL,sha256=xe90SRX7QSJt3ELEuwUcqfGtpMKjlABrIqqKWu7wmsY,109
25
- nextroute-1.9.0.dist-info/top_level.txt,sha256=KNsuo1j7tr-QvBFS_ELmo68OmJ-orEZiOXqstGLJDXA,16
26
- nextroute-1.9.0.dist-info/METADATA,sha256=YV29GK35MXcrw9crImKN_atP-oq4I1yg7ZqYB2OfNNk,15538