Preperation for multi-objective-optimization

To begin with, I’m trying to do the following.
I have a given floor plan (walls and columns). So basically base lines as a border of the wall surfaces.
The simplest solution for bracing would be to simply let all the walls work.
However, my tool should only mobilize a part of the walls for the bracing from the possible wall positions.
For this, the given geometry would have to be divided into fragments. So Octopus+GH can certainly prepare and optimize different wall positions as layouts.
I imagine a kind of “searcher” that searches for the baselines in both axis directions in GH and documents them. Next, these found walls must be divided into sub-areas.

Do you have an idea for a suitable tutorial for this of kind of hints?

best wishes
Martin