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

build odesolution type #143

Closed
wants to merge 5 commits into from
Closed

build odesolution type #143

wants to merge 5 commits into from

Conversation

difeizhang
Copy link

@difeizhang difeizhang commented Nov 16, 2023

  • build ODESolution Type to support interpolation interface for in-place StandBVProblem

  • add new MIRK tests to test interpolation interface

  • efficient implementation: add a new filed inside MIRKCache to avoid unnecessary interp_setup!()

Copy link
Contributor

Benchmark Results

master 928b1cd... t[master]/t[928b1cd...]
Simple Pendulum/IIP/MultipleShooting(10, Tsit5; grid_coarsening = false) 1.81 ± 0.074 ms 1.83 ± 0.064 ms 0.987
Simple Pendulum/IIP/MultipleShooting(10, Tsit5; grid_coarsening = true) 3.37 ± 0.12 ms 3.38 ± 0.1 ms 0.997
Simple Pendulum/IIP/MultipleShooting(100, Tsit5; grid_coarsening = false) 0.0543 ± 0.0038 s 0.0542 ± 0.0038 s 1
Simple Pendulum/IIP/MultipleShooting(100, Tsit5; grid_coarsening = true) 1.07 ± 0.0071 s 1.16 ± 0.002 s 0.927
Simple Pendulum/IIP/Shooting(Tsit5()) 0.18 ± 0.0044 ms 0.18 ± 0.0046 ms 1
Simple Pendulum/OOP/MultipleShooting(10, Tsit5; grid_coarsening = false) 4.21 ± 0.31 ms 4.26 ± 0.3 ms 0.989
Simple Pendulum/OOP/MultipleShooting(10, Tsit5; grid_coarsening = true) 7.41 ± 4.2 ms 7.6 ± 4.6 ms 0.975
Simple Pendulum/OOP/MultipleShooting(100, Tsit5; grid_coarsening = false) 0.132 ± 0.0029 s 0.136 ± 0.0014 s 0.966
Simple Pendulum/OOP/MultipleShooting(100, Tsit5; grid_coarsening = true) 4.45 ± 0.0067 s 4.82 ± 0.017 s 0.924
Simple Pendulum/OOP/Shooting(Tsit5()) 0.704 ± 0.024 ms 0.71 ± 0.039 ms 0.992
time_to_load 7.37 ± 0.1 s 7.44 ± 0.054 s 0.991

Benchmark Plots

A plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR.
Go to "Actions"->"Benchmark a pull request"->[the most recent run]->"Artifacts" (at the bottom).

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

1 participant