How to balance routes with min-max

This topic is related to the earlier post: New feature: balance activities

@Stefan, @karussell: Could you please advice how to set the objective to min-max by calling java functions (instead of passing the JSON options). For example, my program currently has:

VehicleRoutingProblem vrp =;
VehicleRoutingAlgorithm vra = new GreedySchrimpfFactory().createAlgorithm(vrp);

Where should I add the command for setting the min-max objective? Thank you.

I was wondering the same thing :slight_smile:

I also facing the same problem. Can anyone show me how the implement it ?
Thank you very much!

Powered by Discourse