Maximizeoptions to configure the desired solver type to minimize or maximize the target value, respectively. As a default, the
routeruses minimization as its configuration.
main.gofile and use the code snippet below.
Minimizeoption) should look similar to this one:
Maximizeoption, the route distance for a single vehicle is maximized to be the longest possible.