You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried the Wasserstein risk measure using the hydro-thermal example from introductory file. The codes are as follows
SDDP.train(
model,
risk_measure = SDDP.Wasserstein(Gurobi.Optimizer; alpha=0.1) do x,y
return abs(x-y)
end,
iteration_limit = 10
)
However, it fails with an output
caused by: MethodError: no method matching -(::SDDP.Noise{Float64}, ::SDDP.Noise{Float64})
The function - exists, but no method is defined for this combination of argument types.
I also tried other risk measures like Entropy and ModifiedChiSquared, these work good.
The text was updated successfully, but these errors were encountered:
odow
changed the title
How to train a model with the Wasserstein risk measure
Improve documentation for risk measure, including Wasserstein
Jan 11, 2025
odow
changed the title
Improve documentation for risk measure, including Wasserstein
Improve documentation for risk measures, including Wasserstein
Jan 11, 2025
I tried the Wasserstein risk measure using the hydro-thermal example from introductory file. The codes are as follows
SDDP.train(
model,
risk_measure = SDDP.Wasserstein(Gurobi.Optimizer; alpha=0.1) do x,y
return abs(x-y)
end,
iteration_limit = 10
)
However, it fails with an output
caused by: MethodError: no method matching -(::SDDP.Noise{Float64}, ::SDDP.Noise{Float64})
The function
-
exists, but no method is defined for this combination of argument types.I also tried other risk measures like Entropy and ModifiedChiSquared, these work good.
The text was updated successfully, but these errors were encountered: