Question regarding COSMO Convergence

Please read the first post of Please read: make it easier to help you. In particular, it’s easier to help if you can provide a minimal working example. You’re almost there, but I can’t run your code because I don’t have “warmstart.jl”.

One reason you are having trouble is that you are enforcing variable bounds as constraints. Do this instead:

@variable(m, Pgmin[i] <= g[1:times, i = 1:numgenerators] <= Pgmax[i])
1 Like