How to prevent same location on different routes?

What is the best strategy nowadays to manage this problem?

Have a look to this :

So, you’ll need a StateUpdater, in order to know the actual route of already assigned jobs and a HardRouteConstraint to define your contraint.

I found this code on other post
but with hardconstraint i have chance to get some unassigned jobs right?

If the problem is overconstrained, yes, it could happen