Optimizing cubicles for a given floor plate

Its an interesting problem with not so straightforward solution. I’m not sure Galapagos is the right move here as it sounds like there would be too many variables for the solver to be effective. In broader sense the problem is a nesting or packing problem, which is a well studied but complex problem. One past thread that I thought had an interesting approach to this was here: Nesting randomly (sort of Wordle)

There is also a gh plugin called packrat that nests boxes efficiently inside a bounding box if you are looking for something more ready made.