[Factoring as Optimization](https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/tr-2002-83.pdf) could be a useful link in this direction as well.