Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Thanks, I followed your advice and used this as a reference for writing my Python script: developers.google.com/optimization/mip/mip_var_array I've written my problem as a set of linear inequalities and the optimal solution can be found under a second! Thanks a lot!