junglegobs / PH4GEPMs

A simple implementation of progressive hedging as applied to a generation expansion planning model.
0 stars 0 forks source link

Solvers other than Ipopt lead to `OptimizeNotCalled()` error #1

Open junglegobs opened 3 years ago

junglegobs commented 3 years ago

Possibly an issue with GRB_ENV: https://github.com/jump-dev/Gurobi.jl

Except it isn't. And it's Gurobi specific, since I don't have this problem with Ipopt and I didn't have it with COSMO.

junglegobs commented 3 years ago

This also also occurs with COSMO and without distributed. Specifically:

julia> include("scripts/simplest_PH.jl")
Initializing...
...building submodels...
...computing starting values...
...augmenting objectives...
Solving...
ERROR: LoadError: OptimizeNotCalled()

And this definitely doesn't happen with Ipopt, I've double checked.