One commentator here questioned why is this on HN (and was DVd somewhat) There is the fact that dad teaches stuff to daughter. The lesson is fun and interactive. The concepts dealt with are pretty profound and can be quite deep: constraints, maxima and minima. Well done dad - you've covered some complex stuff in a fun and accessible way. Good skills. If anyone else doubts why this is valid Hacker News, they may want…
Slamming my nerd card down so hard the whole table spins around It's hacker news, not motivational team building shared insight news. I'd expect a GA solver which selected the four pieces which could be constructed into the tallest possible structure (with all the dirty tricks e.g. a boat hull attached to a wobbly assemblage of Giant Base/wing plates with a 12x24 brick balanced on the top), with a Speculation section…
More seriously, though -- I think problems like this can actually be more interesting than solutions. They get you thinking about what the solution might be. Lots of interesting work starts with a problem rather than a particular solution technique. That said, I'd be interested to see your GA solver solution, or any other solution someone can find!