Difference between Constraint.NOT_FULFILLED and Constraint.NOT_FULFILLED_BREAK

Where should we use Constraint.NOT_FULFILLED and Constraint.NOT_FULFILLED_BREAK?

Constraint.NOT_FULFILLED: the insertion of the newAct at the current position (b/w prevAct and nextAct) is rejected, but the algo will continue to try inserting the newAct at downstream positions in the current route.

Constraint.NOT_FULFILLED_BREAK: the insertion of the newAct at the current position is rejected, and the algo will NOT continue to try downstream positions in the current route.

3 Likes

Hi,

If algo is trying to insert a deliveryShipment activity after inserting a pickupShipment and a constraint returns Constraint.NOT_FULFILLED_BREAK will the algo continue inserting pickupShipment at downstream positions in current route?