I am trying to create an optimization script that works a bit like an automated Tetris solver in that the solver determines the maximum number of rectangles that can fit in an arbitrary shape. This is the first time I’ve tried to use Gene Pool, Opossum, and combining multiple fitness criteria into one overall fitness goal. And, it isn’t working ![]()
Several issues. Solver isn’t converging. I’m testing with Galapagos and Opossum. Opossum seems to fail. Galapagos takes so long it’s not even worth it. Fitness criteria are not being met (out of bounds boxes and clashes).
Is my logic wrong? Fitness incorrect? Too hard of a challenge? ![]()
Please help!
rect_omptz 2.3dm (2.0 MB)
rectangle_optmz_send.gh (48.3 KB)


