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

Initial Routes are fixed for shipments and new ones are not inserted #114

Closed
damariei opened this issue Jul 10, 2014 · 2 comments
Closed

Comments

@damariei
Copy link

If I have an initial route with a single shipment and I define it similar to:

<route>
  <driverId>noDriver</driverId>
  <vehicleId>53</vehicleId>
  <start>101.0</start>
  <act type="pickupShipment">
    <shipmentId>1</shipmentId>
  </act>
  <act type="deliverShipment">
    <shipmentId>1</shipmentId>
  </act>
  <end/>
</route>

And would like to solve for one new shipment, it will always try to do pickup#1-pickup#2 then the new shipment because of the initial route.
Instead it should do pickup#1-pickup#2-delivery#1-delivery#2
Removing it as an initial route will make it work correctly.

jsprit pushed a commit that referenced this issue Jul 30, 2014
@jsprit
Copy link
Contributor

jsprit commented Jul 30, 2014

bugfix in head of development (1.3.2-SNAPSHOT)

@jsprit jsprit closed this as completed Jul 30, 2014
@jsprit
Copy link
Contributor

jsprit commented Jul 30, 2014

Note that API of head changed (acc to v1.3.1) - see https://github.com/jsprit/jsprit/blob/master/CHANGELOG.md to migrate to the 1.3.2-SNAPSHOT

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

No branches or pull requests

1 participant