I am solving the problem described in Section II - A of this paper:
https://pdfs.semanticscholar.org/9809/baec1b0881a0e7890bbb75819f2f40906f94.pdf
Essentially the problem has equality constraints, thus it seems like SLSQP is the only way to go. I am using SciPy 0.19.0 on Ubuntu.
For small graphs, the solution is produced, however for larger graphs, with even up to 10 nodes, the I get the error "Inequality constraints incompatible". While there are bounds on each variable to have a positive value, but no inequality constraints. So, I am not sure what is causing this.
If you'd like to run and reproduce with a dummy topology, kindly use the file src/model/simple_model.py
Any help would be appreciated!
-
rakesh