WORHP Kata of May 2023 ⌚ 2023-05-01
A kata (in the context of programming) is a small training unit to practise coding. In this series of WORHP Katas we present standard problems of optimization which you can use to get familiar with optimization (and our optimization software WORHP).Kata: We want to distribute 12 points on a unit sphere in . For each pair of points, we compute the reciprocal of their distance. Find the distribution which minimizes the sum of all these reciprocals!
A solution will be provided with the next WORHP Kata.
Solution of last WORHP Kata: For a line and a point we can find the perpendicular foot as
Using this CPP code and our solver WORHP, we get after 7 iterations: