GraphHopper.com | Forum | GitHub | Maps | Blog

How to balance routes with min-max


#1

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 = vrpBuilder.build();
VehicleRoutingAlgorithm vra = new GreedySchrimpfFactory().createAlgorithm(vrp);

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


#2

I was wondering the same thing :slight_smile: