-
Notifications
You must be signed in to change notification settings - Fork 2
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
Audit sddp_modifications.jl #7
Comments
I have been making progress on this. Various bits have been removed from JADE:
And upstreamed into SDDP.jl
I still need to get my head around: JADE.jl/src/sddp_modifications.jl Lines 8 to 194 in c4621f9
|
Okay so the motivation for the cut functions is that JADE can nominate a start week. And instead of modifying the graph, we're modifying a bunch of the other bits (e.g., the It would have been simpler to create a 52 node graph, and then change the arc between the root node and the graph from @adow031: if we change the graph, is that bad? Does the discount factor need to go 52 weeks after the start week, or can it always live between weeks 52 and 1? |
The reason for this isn't because we can change the initial week, but that is taken into account. I don't think that changing the network (arc from the root node) can replicate what we are doing here. The way that we use the steady-state cuts is to first generate these for 52 weeks with some long-run properties set. We then set up a (possibly) completely different model, perhaps with only 20 weeks with a finite horizon. This will end in one of the weeks from the steady-state, and we want to load those cuts into the final stage. The indices of the SDDP's cuts are based on the stage of the model, so in order to make things work for JADE, regardless of the starting week used for training the steady-state policy, these are saved with week 1 of the year defined to be stage 1. This means that the cuts can be loaded without any conversion. This may not be something that can / should be generalised in SDDP.jl. |
Closed by #33. The file is now gone 😄 |
Much of the code in https://github.com/EPOC-NZ/JADE.jl/blob/main/src/sddp_modifications.jl should be moved into SDDP.jl with appropriate modifications. Ideally, we won't have any SDDP.jl extensions in JADE.jl.
The text was updated successfully, but these errors were encountered: