Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freight (logistics): Confusion re deliveryTime for CollectionCarrier. #3604

Open
kt86 opened this issue Nov 29, 2024 · 0 comments
Open

Freight (logistics): Confusion re deliveryTime for CollectionCarrier. #3604

kt86 opened this issue Nov 29, 2024 · 0 comments
Assignees
Labels

Comments

@kt86
Copy link
Contributor

kt86 commented Nov 29, 2024

From @JWJoubert:
We found it a bit counter-intuitive (it took us some time to pinpoint the discrepancy) that for the LspShipment, the “collection” or pick-up time, the code uses the “delivery time”, even though the LspShipment does have a “pickupServiceTime” option.

From my first view on it, this seems to be wrong in the code, so that in https://github.com/matsim-vsp/logistics/blob/c9316926ab46b31254f24fb80ff8dc1197d8e244/src/main/java/org/matsim/freight/logistics/resourceImplementations/CollectionCarrierScheduler.java#L89 and https://github.com/matsim-vsp/logistics/blob/c9316926ab46b31254f24fb80ff8dc1197d8e244/src/main/java/org/matsim/freight/logistics/resourceImplementations/CollectionCarrierScheduler.java#L137 (?) it should use get**Pickup**...

Just changing the code will cause a lot of test failures (which is somehow, good, showing, that this is tested)

((The logistics repo goes into archive mode, code is not on matims-libs. So the issue is moved from - see there for more information: matsim-vsp/logistics#334 ))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant