TimefoldAI / timefold-quickstarts

Get started with Timefold quickstarts here. Timefold is the successor of OptaPlanner, by the OptaPlanner team. Optimize the vehicle routing problem, employee rostering, task assignment, maintenance scheduling and other planning problems
https://timefold.ai
Apache License 2.0
214 stars 66 forks source link

VRPTW: vehicle.route is duplicate information #52

Closed ge0ffrey closed 1 year ago

ge0ffrey commented 1 year ago

Maybe we can have javascript side calculate this? To avoid increasing the json payload size.

    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    /**
     * @return route of the vehicle
     */
    public List<Location> getRoute() {
rsynek commented 1 year ago

Addressed in https://github.com/TimefoldAI/timefold-quickstarts/pull/53.