Hello! I’m learning to use Wallacei and came up with a simple example to test it out, where I want to minimize the surface area of a cylinder while mantainig a desired volume, but I’m not able to get a simulation that converges as expected. Some help pointing out any mistakes or ways to improve the script would be greatly appreciated!
Minimising the surface area will try to bring the ‘radius’ and ‘length’ genes (input sliders) down to 0, as that is the most optimal solution for that objective, while optimising towards a target volume will try to get slider values that facilitate this (which will not be 0).
In this case, the problem you are optimising for has two conflicting objectives.. one objective wants the cylinder to disappear, while the other wants the cylinder to hit a target shape.. you will not be able to converge towards a single optimal solution.
I see what you mean, and that’s what made me think this might be a good case for optimization, but It makes sense to think that the fitness goals are ‘fighting’ for control of the genes.
I think i got around the isue by combinig both goals into a single number, but I’m not sure if i might get a false positive this way: