Optimization problem, creating algorithm
1 view (last 30 days)
Show older comments
Suppose that I have a big pipe and I want to put n small pipes in it, say 8 pipes 1 inch each. What is the smallest radius for the biggest pipe to contain all of the small ones? Constraint minimization, they must not be inside one another. How will I write the function, which will minimize this radius for the general case for a general n? I need to write an algorithm for n number of circles, when I change the n number the amount of the small circles will change and the radius of the biggest circle will change too.

0 Comments
Answers (1)
Walter Roberson
on 31 Oct 2015
If you could do that, then the values listed as "conjectured optimal" in the table at https://en.wikipedia.org/wiki/Circle_packing_in_a_circle would no longer be conjectures.
I would not even consider starting the coding without having read a few of the papers listed in the references of the above wikipedia link.
Unless, of course, you were just hoping for a "not bad" result that might not be optimal, such as if you were thinking of using PSO or GA.
2 Comments
Walter Roberson
on 31 Oct 2015
Did you not read the article?
"n fact, problems with circular objects are very hard optimization problems. They have a large number of variables and local minima. Thus, they require to be tackled with algorithms which mix local searches with heuristic procedures in order to widely explore the search space"
When you have a problem that difficult, there is no formula to solve it. Solving for n = 30 would probably take many months of computer time.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!