Optimization Plug-In for Grasshopper: How to use Galapagos' interface and gene pool?

Thanks Thomas!
I tried to follow David’s example code from the thread you mentioned, however in Visual Studio and not in the c# script component.

Unfortunately, now I’m getting an “object has expired” error, exactly when I try to change the slider value.

I found this forum topic, discussing exactly what I am trying to do and mentioning the problems I now encounter:
http://discourse.mcneel.com/t/how-can-i-get-a-number-slider-object-and-set-a-value/12407/6

Have you managed to do it the “inert”-way, David was describing? If so, how do you access and work with the fitness-evaluation components, without changing the number-sliders?

Would there be a chance that you upload a super simple example about this?

Thanks a lot! Christoph