Optimizing circle packing based on type-specific distances

Thank you so much inno, your definition works well!!

However, my final objective is not only to generate the dots but also to find out what is the optimal configuration and how many of the circles i can maximally pack within the surface.
So, i tried to add a wallacei to the definition. The problem is that the button of the solver needs to be clicked automatically to be able to check the different options. See the updated definition attached:
blue and red packing_md.gh (25.4 KB)

I tried Heteroptera to automatically click the button - but the process crashes with the error Error: “object expired during a solution”