Hi Johan,
I've come across an issue concerning the syntax of constraints. The attached code works fine, but there are two issues:
Firstly, if you go to line 27 and remove the space between the negative sign and Q2(i), the problem remains feasible but the optimal solution changes drastically.
The same thing happens on line 28, if you remove the space between the negative sign and Q3(i).
Secondly, if you go to line 28 and remove the space between the negative sign and Q(i), the problem is no longer feasible.
Is this a bug? Or did I declare the constraints incorrectly?
Thanks in advance,
Kevin