337 points · by yowzadave · 3y ago · 49 comments
As a former architect, it's tempting to see similarities in the way architects do space planning: continually re-arranging the various rooms/circulation elements to find the most efficient use of space. Seeing how counter-intuitive these solutions are (and the fact that most of them are not proved, only "found") makes me think that space-planning may not be "solvable" computationally.
It isn't. The knapsack problem is NP-complete and roughly translates to "Given a space of size X and a set of items of sizes A, B, C, how do you pack X optimally?". Designing a room layout seems like it would fall squarely into that, with additional restrictions added on top to make it even harder.
https://en.wikipedia.org/wiki/Knapsack_problem
According to wikipedia we do have algorithms that are useful in practice, but that's not quite the same as "definitely optimal"
This made me scratch my head a bit. I'm aware of there being different types of infinities, but to call a "smaller" infinity "effectively finite" seems a bit odd. I'm not up-to-date on math terminology, though.
In truth, I'm not quite sure what you mean by "solvable" vs "not solvable" here, either. In the above discussion I thought it meant "not tractable in a reasonable amount of time" (i.e. NP-complete => "not solvable"). But you seem to have a different definition you're working from.
Could you elaborate on what you mean by "effectively finite => solvable" ?
Glad you did post it though because it’s a really nice visualization and a very good page and deserves to be seen by more people who like such things!
I particularly liked "squares in circles", found 8 pretty surprising
https://www.combinatorics.org/ojs/index.php/eljc/article/vie...
[1] https://erich-friedman.github.io/papers/squares/pic/s27b.gif
[0] https://erich-friedman.github.io/papers/squares/squares.html...
The linked paper has more details
https://erich-friedman.github.io/papers/squares/squares.html
Interesting to think that the universe is solving NP-complete problems in real-time all day everyday. Mad respect.
I can't find a good source with packing but a very similar phenomenon is a soap film on a wire frame. Sometimes it gets stuck in a non-optimal configuration until you blow on it to give it a kick needed to reconfigure. You can see it at 19:35 in this talk by Matt Parker[1]
Consider the dance between order and chaos in this set of cramped squares. Deviating into chaos from numbers 53-55 only to return to a beautiful order in 56.
Would look like stuff from a "A New Kind of Science" I bet.
https://writings.stephenwolfram.com/2017/05/a-new-kind-of-sc...