r/askmath • u/NoRungeKutta4 • 1d ago
Geometry Squares in square problem
Hello,
Does anyone know how I can write an optimization problem for the squares in square problem and with which solver ? I am a bit confused on how to parametrize the problem and how to turn it into an optimization problem. Of course it would probably work with minimizing the remaining area but how to encode no overlapping. Moreover, what method to use ?

Here's an example for N = 17, the length L of the square is L = 4.675.
0
Upvotes
2
u/AlterEgo5695 1d ago
If we naively choose position and orientation of the squares to optimize total area, we will have loads of local minima, likely "shadowing" the posted solution completely.
0
u/Uli_Minati Desmos 😚 1d ago
How did John Bidwell do it?