Skip to content
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

polar: add generic jtprod evaluation #112

Merged
merged 1 commit into from
Mar 4, 2021
Merged

polar: add generic jtprod evaluation #112

merged 1 commit into from
Mar 4, 2021

Conversation

frapac
Copy link
Member

@frapac frapac commented Mar 1, 2021

  • fix bug in computation of the adjoint
  • refactor the computation of the objective
  • allow to compute the Hessian of the objective using the adjoint of active_power_constraints

@frapac frapac requested a review from michel2323 March 1, 2021 20:01
kernel! = adj_transfer_kernel!(KA.CPU())
end
nbus = length(buffer.vmag)
function adjoint_transfer!(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjoint_transfer! implements the adjoint of the transfer! function once and for all. We are computing both the adjoints w.r.t. x and w.r.t. u here.

@frapac frapac mentioned this pull request Mar 1, 2021
18 tasks
- fix bug in computation of the adjoint
- refactor the computation of the objective
- allow to compute the Hessian of the objective using
  the adjoint of active_power_constraints
- remove testing of jtprod on GPU before and wait for a valid
  implementation on the GPU
@frapac frapac merged commit 15ac519 into develop Mar 4, 2021
@frapac frapac deleted the fp/jtprod branch March 4, 2021 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants