New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asynchronous cuts with price states #324
Comments
It's not implemented, but I thought I threw a nicer error: SDDP.jl/src/plugins/parallel_schemes.jl Lines 99 to 102 in a5033c2
I'll take a look. |
|
I just tested my code with the change you've made, and it's working. Should I take this to mean that this is a supported feature, or should I use it 'at my own risk'? |
This will be a supported feature, but for now it's "at your own risk." |
Great thanks for this; my infinite horizon objective-state model, might finally be able to converge. |
What's the discount factor? |
48 stages, and it wraps around with a discount factor of 0.9 |
That shouldn't be a problem then. The real issue with the objective state is that I still haven't implemented cut selection, so it's going to hit issues with lots of cuts. |
I've previously done manual cut selection on objective state models, where I discard cuts that no longer bind for any visited states, but that was in the Julia 0.6 version. Anyways, we're getting off topic! |
Just to confirm, this is now "official supported." |
I've written a model using price states, and I'm trying to use the asynchronous cut generation, however, it throws the following error.
The error is being thrown at this section of the code:
for (y, μ) in zip(cut.obj_y, V.objective_states)
JuMP.add_to_expression!(yᵀμ, y, μ)
end
I don't get any error if price states are not present. The documentation on these asynchronous cuts is a bit limited. Is this not supported yet?
The text was updated successfully, but these errors were encountered: