-
Notifications
You must be signed in to change notification settings - Fork 61
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
Proposal: change noise syntax #107
Comments
I thought of this today. It is a whole lot simpler and allows us to more easily modify subproblems. SDDPModel() do sp, t
@state(sp, x, x0==0)
c = @constraint(m, x == 1)
@stageobjective(m, x)
parameterize!(sp, [0.5, 0.2, 0.3]) do noise
rhs = [1.1, 1.2, 1.3]
JuMP.setRHS(c, rhs[noise])
@stageobjective(m, noise * x) # not sure about this
end
end This would get rid of Con: can you have to calls to To follow up, can we just use |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This sorts out the using different noise fiasco since we can just throw new observations into the function (ref #10). It plays nicer with namespacing issues
And is probably a good start towards noises in the constraint coefficients. It also slightly unifies our price interpolation stuff since we would have
But we should really have
to allow for stagewise independent noise on-top-of the price states.
Nothing actionable yet, leaving this as a reminder.
The text was updated successfully, but these errors were encountered: