nextroute 1.11.1.dev0__cp312-cp312-macosx_13_0_x86_64.whl → 1.12.3__cp312-cp312-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.
nextroute/__about__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  # © 2019-present nextmv.io inc
2
2
 
3
- __version__ = "v1.11.1.dev0"
3
+ __version__ = "v1.12.3"
Binary file
nextroute/options.py CHANGED
@@ -17,6 +17,7 @@ _DURATIONS_ARGS = [
17
17
  "-check.duration",
18
18
  "-solve.duration",
19
19
  "-solve.plateau.duration",
20
+ "-solve.plateau.delay",
20
21
  ]
21
22
 
22
23
  # Arguments that require a string enum.
@@ -80,10 +81,12 @@ class Options(BaseModel):
80
81
  MODEL_OBJECTIVES_CAPACITIES: str = ""
81
82
  """
82
83
  Capacity objective, provide triple for each resource
83
- `name:default;factor:1.0;offset;0.0`.
84
+ `name=default;factor=1.0;offset=0.0`.
84
85
  """
85
86
  MODEL_OBJECTIVES_CLUSTER: float = 0.0
86
87
  """Factor to weigh the cluster objective."""
88
+ MODEL_OBJECTIVES_DISTANCE: float = 0.0
89
+ """Factor to weigh the distance objective."""
87
90
  MODEL_OBJECTIVES_EARLYARRIVALPENALTY: float = 1.0
88
91
  """Factor to weigh the early arrival objective."""
89
92
  MODEL_OBJECTIVES_LATEARRIVALPENALTY: float = 1.0
@@ -130,6 +133,8 @@ class Options(BaseModel):
130
133
  Maximum number of parallel runs, -1 results in using all available
131
134
  resources.
132
135
  """
136
+ SOLVE_PLATEAU_DELAY: float = 0.0
137
+ """Delay before starting to monitor for a plateau."""
133
138
  SOLVE_PLATEAU_ABSOLUTETHRESHOLD: float = -1
134
139
  """Absolute threshold for significant improvement."""
135
140
  SOLVE_PLATEAU_DURATION: float = 0.0
@@ -140,6 +145,36 @@ class Options(BaseModel):
140
145
  """Relative threshold for significant improvement."""
141
146
  SOLVE_RUNDETERMINISTICALLY: bool = False
142
147
  """Run the parallel solver deterministically."""
148
+ SOLVE_SOLVER_PLANGROUPSIZE_DELTA: int = 0
149
+ """Delta for the plan group size parameter."""
150
+ SOLVE_SOLVER_PLANGROUPSIZE_DELTAAFTERITERATIONS: int = 1000000000
151
+ """Delta after each iteration for the plan group size parameter."""
152
+ SOLVE_SOLVER_PLANGROUPSIZE_MAXVALUE: int = 2
153
+ """Maximum value for the plan group size parameter."""
154
+ SOLVE_SOLVER_PLANGROUPSIZE_MINVALUE: int = 2
155
+ """Minimum value for the plan group size parameter."""
156
+ SOLVE_SOLVER_PLANGROUPSIZE_SNAPBACKAFTERIMPROVEMENT: bool = True
157
+ """Snap back to start value after improvement of best solution for the plan group size parameter."""
158
+ SOLVE_SOLVER_PLANGROUPSIZE_STARTVALUE: int = 2
159
+ """Start value for the plan group size parameter."""
160
+ SOLVE_SOLVER_PLANGROUPSIZE_ZIGZAG: bool = True
161
+ """Zigzag between min and max value like a jig saw for the plan group size parameter."""
162
+ SOLVE_SOLVER_UNPLANUNITS_DELTA: int = 2
163
+ """Delta for the unplan units parameter."""
164
+ SOLVE_SOLVER_UNPLANUNITS_DELTAAFTERITERATIONS: int = 125
165
+ """Delta after each iteration for the unplan units parameter."""
166
+ SOLVE_SOLVER_UNPLANUNITS_MAXVALUE: int = -1
167
+ """Maximum value for the unplan units parameter."""
168
+ SOLVE_SOLVER_UNPLANUNITS_MINVALUE: int = 2
169
+ """Minimum value for the unplan units parameter."""
170
+ SOLVE_SOLVER_UNPLANUNITS_SNAPBACKAFTERIMPROVEMENT: bool = True
171
+ """Snap back to start value after improvement of best solution for the unplan units parameter."""
172
+ SOLVE_SOLVER_UNPLANUNITS_STARTVALUE: int = 2
173
+ """Start value for the unplan units parameter."""
174
+ SOLVE_SOLVER_UNPLANUNITS_ZIGZAG: bool = True
175
+ """Zigzag between min and max value like a jig saw for the unplan units parameter."""
176
+ SOLVE_SOLVER_UNPLANWEIGHTS: str = "Vehicle:3,Island:1,Location:293"
177
+ """Unplan heuristic weights parameter."""
143
178
  SOLVE_STARTSOLUTIONS: int = -1
144
179
  """
145
180
  Number of solutions to generate on top of those passed in; one solution
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: nextroute
3
- Version: 1.11.1.dev0
3
+ Version: 1.12.3
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>
@@ -109,6 +109,7 @@ Requires-Python: >=3.8
109
109
  Description-Content-Type: text/markdown
110
110
  License-File: LICENSE
111
111
  Requires-Dist: pydantic>=2.5.2
112
+ Dynamic: license-file
112
113
 
113
114
  # Nextroute
114
115
 
@@ -1,20 +1,20 @@
1
- nextroute-1.11.1.dev0.dist-info/RECORD,,
2
- nextroute-1.11.1.dev0.dist-info/LICENSE,sha256=ElKAl6B15yj4LTFL_Dh1hje431kMHut2urxo5nheRWs,4107
3
- nextroute-1.11.1.dev0.dist-info/WHEEL,sha256=5wQCZMk7biS_5XE2U2B3cCqdSfsaDfWaSPpGErIlybE,110
4
- nextroute-1.11.1.dev0.dist-info/top_level.txt,sha256=KNsuo1j7tr-QvBFS_ELmo68OmJ-orEZiOXqstGLJDXA,16
5
- nextroute-1.11.1.dev0.dist-info/METADATA,sha256=vNdWO4LkRSY36EViN3KQrkF39SryTegDV8rH_xPupMY,15595
1
+ nextroute-1.12.3.dist-info/RECORD,,
2
+ nextroute-1.12.3.dist-info/WHEEL,sha256=entZNN85s-JxqcmXHTt39Ax198pJrOYoKFOQaLspAVk,110
3
+ nextroute-1.12.3.dist-info/top_level.txt,sha256=KNsuo1j7tr-QvBFS_ELmo68OmJ-orEZiOXqstGLJDXA,16
4
+ nextroute-1.12.3.dist-info/METADATA,sha256=IWx8wIDz9Eq2z-3bNW431o7hYu2q3HX0iJLH6A1MOn4,15612
5
+ nextroute-1.12.3.dist-info/licenses/LICENSE,sha256=ElKAl6B15yj4LTFL_Dh1hje431kMHut2urxo5nheRWs,4107
6
6
  tests/solve_golden/__init__.py,sha256=MRZbyX5fYnxsXV0YP6lf32c5YYMo3NsEFqPwdwf5W18,32
7
7
  tests/solve_golden/main.py,sha256=VScx0kPD8ihGR5bSIpLrPTIxRh7mkk9YQ9g0eg8XZMc,1738
8
8
  tests/schema/test_input.py,sha256=kNIlUFqCkvvQieuJIo7-6C_NB9PZqZ72NpGwUWtDZcA,1851
9
9
  tests/schema/__init__.py,sha256=MRZbyX5fYnxsXV0YP6lf32c5YYMo3NsEFqPwdwf5W18,32
10
10
  tests/schema/test_output.py,sha256=i0VreVBXamC-Pk-z7X3W9APjmjfG8iOPAt2jxP4hDQA,11579
11
- nextroute/options.py,sha256=Ho6bIJLEB3MWB7V57yqc7HBNjgv4cSkbHkPy2vQnP5s,8225
11
+ nextroute/options.py,sha256=tZcTLIjsx-6fq9Q9Y-Z8syKbPqGyR3GV6vfpWvVmzLQ,10280
12
12
  nextroute/version.py,sha256=aA_wmIifNRCzxBigX4cSz1Y2CdXvuBNIiY7Nem5UqRA,325
13
13
  nextroute/__init__.py,sha256=wBHS73T_Mm2MfcEx4chZCI1QMbV-a1D7bw7megFLgb4,529
14
14
  nextroute/base_model.py,sha256=Jl205oJZvndkY8rIomZD2k5YhlGgRBn_2I1BKwQ8Vkk,541
15
- nextroute/__about__.py,sha256=OGn-fn6MJRdwzP9DqxnX0iEhXC0i1J_DedSwViAFaNk,62
15
+ nextroute/__about__.py,sha256=H71OIfyHAXJOiG4wuGcoP506V3in6aScHaOMWCJknuM,57
16
16
  nextroute/solve.py,sha256=It1kDEdFk_AXX-gEUjvQbc7C-0ma9bEPRbnC_bHMsUU,4192
17
- nextroute/bin/nextroute.exe,sha256=Qg2YITmd9uSKdslk2ynZPrxfR7N20IJvcY5s6od2VJ4,14099968
17
+ nextroute/bin/nextroute.exe,sha256=uqL63K4vXMiKLTpZqa8APeh7kmutF7frc4EGSCMm4Eo,14990208
18
18
  nextroute/schema/stop.py,sha256=leKhNC0rcEo64NMNofDuVYnfDNLaqfLZ-mSxUEAwoZk,2199
19
19
  nextroute/schema/vehicle.py,sha256=0W3q-upCn5yEUDX2BBeq5TkOCsrlLsk3Wao-T74nDmU,2535
20
20
  nextroute/schema/__init__.py,sha256=KSlnpJQMnCDq5IXyiltt9CiafcxUH40B3FdE1fc5wdI,1167
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-cp312-macosx_13_0_x86_64
5
5