Grasshopper

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?

Galapagos.png

Thanks a lot in advance,

Dmitriy

Views: 951

Replies to This Discussion

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

Attachments:

Hi David,

Thanks a lot for that.

Perhaps I am missing smth. but as far as I see - file has been sent in the newer version 9.0050. (as per image attached). Is this new version available?

Thanks,

Dmitriy

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

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service