-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Gradient of chance constraint in tutorial #56
Comments
Example for convenience @ θ = [-0.05713109086715892, 2.4366742783682063, 49.99835957072762]
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Opening an issue after asking on the sciml-bridged slack channel.
In the tutorial " Optimization Under Uncertainty with DiffEqUncertainty.jl " a chance constraint is introduced, and it's gradient is evaluated by ForwardDiff, i.e. the code snippet below. However if I check the gradient with some input, say
ForwardDiff.gradient(𝔼_constraint,[-1.0, 222.0, 50.0])
, I get a vector of zeros. Is the tutorial out of date or is there some other problem?The text was updated successfully, but these errors were encountered: