Wait for NewSolution to finish

Hello @dsonntag,

I did see several threads discussing the same thing (many of them yours and Thomas Wortmann) and I’m facing exactly the same problems as you have faced in the past. I’m running an optimization in a Backgroundworker and I have to access Grasshopper sliders to adjust the values and wait for the solution to refresh to collect the fitness.

I have tried Thomas Wortmann’s approach in his FroG application, as well as your approach here and although I can see the sliders moving (I am succesfully changing the sliders), the fitness I’m collecting does not correspond to the values set in the sliders. I think this means the fitness collected is out of Sync with the current active solution?

Mostly I’m just trying to undertand how the NewSolution/ScheduleSolution work and how do I know that a new solution has finished executing.