Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2025/tsptw/tsptw.mzn
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ int: depot = 1; % The first location is the depot
array[Locations] of var Locations: pred;
% durToPred[l] = the distance from location pred[l] to location l:
array[Locations] of var 0..max(duration): durToPred = [
duration[l, pred[l]] | l in Locations];
duration[pred[l], l] | l in Locations];
% arrival[l] = the arrival at location l:
array[Locations] of var 0..max(late): arrival;
% departure[l] = the departure at location l:
Expand Down