Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Load saved simulation state (saved with --save-state.rng ) and run with different random seeds

I agree: https://github.com/eclipse/sumo/issues/9143

Am Mo., 13. Sept. 2021 um 09:11 Uhr schrieb Gutmann, Sebastian <sebastian.gutmann@xxxxxx>:

Thank you, it works as expected!

Maybe it would be helpful to get a warning that the seed argument does not have any effect in this case (or to ignore 'rngState' and 'rngLane').

This is just a note for a future release. My specific problem is solved.


Von: sumo-user <sumo-user-bounces@xxxxxxxxxxx> im Auftrag von Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Gesendet: Sonntag, 12. September 2021 23:02:27
An: Sumo project User discussions
Betreff: Re: [sumo-user] Load saved simulation state (saved with --save-state.rng ) and run with different random seeds
 
Hello,
You may remove the elements 'rngState' and 'rngLane' from your state file before loading it with option seed.
regards,
Jakob


Am Fr., 10. Sept. 2021 um 14:51 Uhr schrieb Gutmann, Sebastian <sebastian.gutmann@xxxxxx>:

Dear Sumo-Team,

I have the following setup. I need to save a specific simulation state (with the option "--save-state.rng" for reproducibility)  and load it again.
Loading the saved state works well. 
However, sometimes I would like to load the saved state and need randomness. Thus, I provide the argument "--seed" upon loading.
However, the seed argument seems to have no effect (no warning is issued either).

How can I load a state (that was saved with option "--save-state.rng") and provide different random seeds?

I am using SUMO 1.9.2 running on Windows 10.

Thanks in advance.
Sebastian

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top