|
On 15-05-13 03:35, Raoul Cousins wrote:
Definitely :) It's just a matter of choosing your class design wisely. Just like the VRP example: - Use a single PlanningEntity Visit, which represents 1 stop at a customer. - Use a single PlanningVariable previousAppearance, which is a Visit or a VehicleSingleDayTrip (instead of a Vehicle) The difference with the example is that the anchor of a chain (see "chained variables" in documentation) is not a Vehicle, but a VehicleSingleDayTrip. A VehicleSingleDayTrip is the combination of a Vehicle and a Day. The rest are just score constraint rules: - "days to visit each node are chosen from some predefined schedules" - "each node has to be visited a specific number of times over the course of several days"
|
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
