I just extended a genetic algorithm with flexsim. Now i have two problems, where i dont know where it comes from.
1.) The model gets "destroyed" every time it finishes an optimization process. Flexsim opens a script console for every run, i dont know why.
- Do I have to open the model in every run or just once at the start?
- When do i have to stop the controller? Only in the end or for every solution in the optimization?
2.) Python automatically restarts the script: I dont know if this problem has to do with flexsim or python. After some iterations, i always get the information "Restart python shell". Do you know where it can come from?
Thanks.