Skip to content

Commit 920e400

Browse files
committed
PyVRP - Reduce min penalty
1 parent 5a76a01 commit 920e400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wrappers/pyvrp_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def main(input_path, output_path, timeout=None):
3434
data = ProblemData.from_dict(json_data)
3535
m = Model.from_data(data)
3636
# Solve the problem
37-
penalty_params = PenaltyParams(min_penalty=1e10, max_penalty=1e10)
37+
penalty_params = PenaltyParams(min_penalty=1e5, max_penalty=1e10)
3838
solve_params = SolveParams(penalty=penalty_params)
3939
result = m.solve(stop=MaxRuntime(int(timeout)), params=solve_params)
4040

0 commit comments

Comments
 (0)