Does setting 'random_seed' from CLI guarantee deterministic routing? #583
-
|
I'm a new user to Freerouting, and am trying to benchmark this tool against another autorouter. For this purpose, I would like to ensure I can reproduce Freerouting's results, if necessary. That is, I would like to run Freerouting deterministically. Using Freerouting's CLI, I set ' I am running Freerouting v2.1.0 (build-date: 2025-04-12) under WSL2 on a Windows laptop. Am I missing something obvious in using the command below to force deterministic routing? -Dan Boyne (Austin, Texas, USA)
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Hey Dan, I think there was an issue with the random seed parameter in CLI mode in version 2.1. There was a pull request that I merged, so it will be fixed in the next release. You can try to test our latest snapshot build until that point, but that might produce questionable results, it hasn't gone through intensive testing. It represents the current development state. You can find it here: https://github.com/freerouting/freerouting/releases/tag/SNAPSHOT |
Beta Was this translation helpful? Give feedback.
-
|
I can see a small typo that could end up overwriting your rules files in the process. You used the new This is a valuable feedback. Seeing this I might change the new parameter's name or at least show a warning if you try to pass an existing file to the Let me know if anything else comes up. |
Beta Was this translation helpful? Give feedback.
-
|
Excellent feedback, thank you Dan! I remember that we had an issue with the Also, warning the user about the unknown parameter(s) is important, that needs to be done. The Note to myself:
|
Beta Was this translation helpful? Give feedback.
Hey Dan,
I think there was an issue with the random seed parameter in CLI mode in version 2.1. There was a pull request that I merged, so it will be fixed in the next release.
You can try to test our latest snapshot build until that point, but that might produce questionable results, it hasn't gone through intensive testing. It represents the current development state.
You can find it here: https://github.com/freerouting/freerouting/releases/tag/SNAPSHOT