Priorities in xCluster2.planVisits
Posted: Tue May 02, 2023 4:08 pm
Hi folks,
A partner wants to replave xTour1 with xCluster2 and evaluates the usage of the VisitOrder.Score for his purpose of how to prioritize orders over other orders if there's no solution planning all orders.
In xTour1 the priority property (values 0..9) was applied on a hierarchy under the iterative roof:
- create a tour planning as many prio 9 orders as possible (and forget the one's you couldn't plan)
- add as many prio 8 orders as possible (and forget those you couldn't add)
- add as many prio 7 orders as possible (and forget those you couldn't add)
- and so on
From my perspective a score is not the same as a prio.
Even if you give an order a very high score of e.g. 9 we may return a solution based on several orders of lower score if the tour's overall score is higher than a tour with the score9 order (plus some more).
So with a perspective of an iteration and different levels of importance the score does not guarantee to prefer the high score orders.
How would you recommend to handle the "order preference" in planVisits?
Bernd
A partner wants to replave xTour1 with xCluster2 and evaluates the usage of the VisitOrder.Score for his purpose of how to prioritize orders over other orders if there's no solution planning all orders.
In xTour1 the priority property (values 0..9) was applied on a hierarchy under the iterative roof:
- create a tour planning as many prio 9 orders as possible (and forget the one's you couldn't plan)
- add as many prio 8 orders as possible (and forget those you couldn't add)
- add as many prio 7 orders as possible (and forget those you couldn't add)
- and so on
From my perspective a score is not the same as a prio.
Even if you give an order a very high score of e.g. 9 we may return a solution based on several orders of lower score if the tour's overall score is higher than a tour with the score9 order (plus some more).
So with a perspective of an iteration and different levels of importance the score does not guarantee to prefer the high score orders.
How would you recommend to handle the "order preference" in planVisits?
Bernd