I'm using scipy.optimize.linprog
to solve a bunch (~6000) of LP problems of about 300 parameters each. This code takes a while to run (like 30 min, and I want to run it hundreds of times), and I'm wondering if I could speed it up significantly by moving into a compiled language (preferably C++).
I know that the source code of many python modules is actually in C (not sure about scipy.optimize
), which is why I'm unsure that I would see a boost in speed. Anybody got any tips?