-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue with nil mix items in mixing constraint (#60)
* Fixes issue where constraint returns a violation for a stop without mix items * Rename testcase * Simplify mixing items constraint, fix mixing items output report, add missing/null mixing item test case * Ignore some files for testing * Upgrade SDK to 1.6.3 --------- Co-authored-by: Marius Merschformann <marius.merschformann@gmail.com>
- Loading branch information
1 parent
5221220
commit 959f78c
Showing
12 changed files
with
423 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.html | ||
*.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
cmd | ||
main | ||
*.json | ||
*.sh | ||
*.yaml | ||
*.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
{ | ||
"stops": [ | ||
{ | ||
"id": "north", | ||
"location": { | ||
"lon": 7.6256, | ||
"lat": 51.9714 | ||
}, | ||
"precedes": "south", | ||
"mixing_items": { | ||
"main": { | ||
"name": "A", | ||
"quantity": 1 | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "south", | ||
"location": { | ||
"lon": 7.6256, | ||
"lat": 51.9534 | ||
}, | ||
"precedes": "south_west", | ||
"mixing_items": { | ||
"main": { | ||
"name": "A", | ||
"quantity": -1 | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "east", | ||
"location": { | ||
"lon": 7.6402, | ||
"lat": 51.9624 | ||
}, | ||
"precedes": "west", | ||
"mixing_items": { | ||
"main": { | ||
"name": "B", | ||
"quantity": 1 | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "west", | ||
"location": { | ||
"lon": 7.611, | ||
"lat": 51.9624 | ||
}, | ||
"precedes": "north_west", | ||
"mixing_items": { | ||
"main": { | ||
"name": "B", | ||
"quantity": -1 | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "north_east", | ||
"location": { | ||
"lon": 7.6359, | ||
"lat": 51.9688 | ||
}, | ||
"mixing_items": null | ||
}, | ||
{ | ||
"id": "south_east", | ||
"location": { | ||
"lon": 7.6359, | ||
"lat": 51.956 | ||
}, | ||
"mixing_items": null | ||
}, | ||
{ | ||
"id": "south_west", | ||
"location": { | ||
"lon": 7.6153, | ||
"lat": 51.956 | ||
} | ||
}, | ||
{ | ||
"id": "north_west", | ||
"location": { | ||
"lon": 7.6153, | ||
"lat": 51.9688 | ||
} | ||
} | ||
], | ||
"vehicles": [ | ||
{ | ||
"id": "truck", | ||
"speed": 20 | ||
} | ||
] | ||
} |
Oops, something went wrong.