Gurobi Python: how to write nested amount in constraint
I have an optimization problem and I am using Python and Gurobi to optimize it. In my problem statement, there is a limitation that has an invested amount.
I recently started learning python and searched in gurobi documentation and code examples and I could not find any example of nested sum.
I was wondering if anyone can help me solve this problem. Thank you in advance!
+5
source to share