https://medium.com/@monocosmo77/working-with-polynomial-optimization-part1-machine-learning-4252369069c2