Absolute value of matrix

As stated in the error message, you need to write @NLobjective(model, Min, sum(abs(PMT[t,i]) for t = 1:T, i=1:3)).

1 Like