Skip to content

Scaling example: AAD and bumping cost as the number of inputs grows - #31

Merged
auto-differentiation-dev merged 2 commits into
mainfrom
samples/scaling
Nov 13, 2026
Merged

auto-differentiation-dev merged 2 commits into
mainfrom
samples/scaling

Conversation

@auto-differentiation-dev

Copy link
Copy Markdown
Contributor

A new example that shows how the cost of all sensitivities of an option book grows with the number of market inputs, with AAD and with bumping.

Changes

  • Python/examples/scaling-adjoint.py: a book of European options on spot, dividend yield, a zero curve and a Black volatility surface of growing size; AAD sensitivities checked against central differences at every size, and a table of pricing, bumping and AAD cost and tape memory measured at run time
  • CHANGELOG entry

@auto-differentiation-dev
auto-differentiation-dev merged commit a73e35b into main Nov 13, 2026
15 of 37 checks passed
@auto-differentiation-dev
auto-differentiation-dev deleted the samples/scaling branch November 13, 2026 13:55
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.

1 participant