Empty tours in solution #160
-
Hello, I recently started using version 1.24.0, but I often encounter solutions with no tours. For example, when I run the solver consecutively on the same problem, some solutions include tours, while others do not. In these cases, stops are returned as unassigned. I used the public image to run the solver. In contrast, this issue did not occur in the older version (1.19.0), where I never observed missing tours in solutions. I would be grateful for any information regarding this behavior. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, do you have example file to reproduce the issue? |
Beta Was this translation helpful? Give feedback.
-
Hi, This is what I used to get the solution (only changing the solution file name between the solver calls) The problem And this is what I've got |
Beta Was this translation helpful? Give feedback.
The reason why you're getting such strange results is your objective:
Please note, that the order is lexicographical, which means that the order of objectives defines their priority. Essentially, here you're saying that
minimize-cost
is the most important objective. During the search, sometimes the solver is capable to find solution when all jobs are unassigned and cost is zero (e.g. in 10 generations). Theoretically, this is an optimal solution according to the objective..In most of the cases, your top objective is minimize amount of jobs unassigned while cost is kept low. So…