odow / SDDP.jl

A JuMP extension for Stochastic Dual Dynamic Programming
https://sddp.dev
Other
309 stars 61 forks source link

Try to recover if we need dual solutions #531

Closed bfpc closed 1 year ago

bfpc commented 1 year ago

Sometimes, the solver exits with a primal feasible point, but no dual solution. If this happens during the backward pass, the algorithm exits, but it suffices (in the very few corner cases I could reproduce and test) to reset the solver just like if no primal feasible point was found: the .mof.json file produced by SDDP.jl indeed contains a perfectly feasible problem.