Goal of jsprit algorithm

Hi, can someone tell me what is by default the goal of jsprit algorithm? I mean what the algorithm is trying to minimize?
Does it try to minimize the distance or the time route?
Thanks

Powered by Discourse