Re: [sumo-user] How to not reopen Traci

2018-12-09 Thread Jakob Erdmann
As Micha already said, you can call traci.load() to reload the simulation from traci. Am Mo., 10. Dez. 2018 um 06:12 Uhr schrieb iCashWave : > Hi, > The sumo-gui has a 'reload' button. > > However, I use non gui sumo, and I do not want to use 'traci.colse()' to > reopen sumo. > > How can I do wit

Re: [sumo-user] How to not reopen Traci

2018-12-09 Thread iCashWave
Hi, The sumo-gui has a 'reload' button. However, I use non gui sumo, and I do not want to use 'traci.colse()' to reopen sumo. How can I do with traci to 'reload' simulation? Michael Behrisch 於 2018年12月9日 週日 23:40 寫道: > Hi, > please have a look at traci.load: > http://sumo.dlr.de/pydoc/traci.ht

Re: [sumo-user] How to not reopen Traci

2018-12-09 Thread Michael Behrisch
Hi, please have a look at traci.load: http://sumo.dlr.de/pydoc/traci.html#-load Best regards, Michael Am 08.12.18 um 09:23 schrieb iCashWave: > Hi, > I use GA package to optimize traffiic signal. > Each simulation should be started from an identical start point(Time=0). > Is there a way to restar

[sumo-user] How to not reopen Traci

2018-12-08 Thread iCashWave
Hi, I use GA package to optimize traffiic signal. Each simulation should be started from an identical start point(Time=0). Is there a way to restart the simulation without closing and reopening Traci? I attach my code file. Thank in advance. import os, sys import traci from pyevolve import G1DList