Indeed Comment 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 Reply
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