What's the best strategy to improve the configuration? #40
-
First of all, a big applause for this library. It provides a lot of functionality out of the box and is really good documented. My question is about tweaking my problem.json and configuration. I experience most of the times an inconsistent result, mostly resulting in UNASSIGNED jobs. Mostly I could see theres enough space in the time window to fit more jobs in the tour. How could I tweak this problem the best? @reinterpretcat Is it an option to send my problem.json in a DM to find out what is my mistake? Thanks in advance! 🙏🏼 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Thanks for feedback! Yes, convergence to the similar (and good!) results over multiple runs is one of the challenging problems. Due to non-determenistic nature of internal algorithm, stability of the results depends on different characterestics of the configuration and problem itself, e.g.:
So, my general recommendation would be to play with: There are more parameters to tweak using configuration file. Unfortunately, I don't have a clear documentation for them. An example of such config is there: https://github.com/reinterpretcat/vrp/blob/master/examples/data/config/config.full.json Regarding analysis of your problem.json, I can take a look: maybe I can find some trivial fixes, but without any warranty. Description of your use case also would be nice - maybe problem can be reformulated in more effective way. |
Beta Was this translation helpful? Give feedback.
-
Thanks, I'll check them once have time. From the first glance, I have some doubts about objective: "objectives": [
[
{
"type": "minimize-unassigned",
"breaks": 0
}
],
[
{
"type": "minimize-tours"
},
{
"type": "minimize-cost"
}
]
] Here, minimizing tours` conflicts with cost minimization. It would be better to redefine objective as: "objectives": [
[
{
"type": "minimize-unassigned",
"breaks": 0
}
],
[
{
"type": "minimize-tours"
}
],
[
{
"type": "minimize-cost"
}
]
] |
Beta Was this translation helpful? Give feedback.
Thanks, I'll check them once have time. From the first glance, I have some doubts about objective:
Here, minimizing tours` conflicts with cost minimization. It would be better to redefine objective as: