Skip to content

Empty tours in solution #160

Discussion options

You must be logged in to vote

The reason why you're getting such strange results is your objective:

  "objectives": [
    {
      "type": "minimize-cost"
    },
    {
      "type": "minimize-unassigned"
    }
  ]

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…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@reinterpretcat
Comment options

Answer selected by AngryAntoine
@AngryAntoine
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants