A bit late, but here it is. Concretely, an Integer Linear Program. Also includes another program to find alternative solutions. Both implemented in R!
Best
Semidán

https://github.com/Robaina/Magic-N-gon

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.