algorithmic modeling for Rhino
Hi David,
I was looking for the possibility to check limitations while Galapagos running (see enclosure).
Let say I have few input values (sliders) which are connected to the generic input.
Fitness is connected to some variable that should be minimized or maximized.
In addition there is few intermediate values, calculated during the alg. process, however they are not a direct input, so cannot be connected to the generic par-s input.
In case if the values are outside limits, indicate it somehow in the general output and be able to throw it away completely.
Is that currently possible (so far as I can see - not) or can you consider to have this feature implemented?
Thanks a lot in advance,
Dmitriy
Tags:
If you are trying to minimize the fitness value, do something like this:
If value is outside of the interval add 999999999 to the fitness value.
Hi Vicente,
I didn't really get what you say.
Can you explain more in details?
Thanks,
Dmitriy
"...and be able to throw it away completely."
This is not possible. Galapagos cannot be instructed to disregard a specific state. What you can do is assign penalty clauses to the fitness. For example if you're minimizing the value and some parameter somewhere is outside of a range you consider valid, then simply add 1 million to the fitness value.
I attached a file with two Galapagos objects. One just tries to find a point with equal distance to a bunch of curves. The other one tries to limit the answer to within a rectangle by adding a large value to the fitness if the point is not contained.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
0.9.0050 will be the next version. I haven't released it yet. It looks like there were no errors though so you should be able to open the file.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by