Job disjunction constraints?

Hey,
I have a couple of services which are disjunctive, as in, you should do at most one of x, y, z, and if you don’t do any of them, you get a penalty.

in ORTOOLS this is achieved using:

routing.AddDisjunction([x, y, z], penalty_for_not_taking_any_ride, 1)

What is the best way to do the same in jsprit?

Powered by Discourse