odow / SDDP.jl

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

PublicationPlots do not check for non-finite data #737

Closed odow closed 5 months ago

odow commented 7 months ago

From an un-named person on WhatsApp:

image
bernardokp commented 7 months ago

Thanks for the suggestion.

Signed: Unknown person

odow commented 7 months ago

We'd need to check the finiteness in https://github.com/odow/SDDP.jl/blob/66096558ae9ba652086d954b156b809361c519ee/src/visualization/publication_plot.jl#L16-L17

But I think we should still accept NaN. So just +-Inf.