Repository navigation
Add bounded nonlinear solver benchmark to the NonlinearProblem group - #1879
Merged
ChrisRackauckas merged 1 commit intoSep 13, 2026
Conversation
ChrisRackauckas-Claude
force-pushed
the
benchmark/bounded-nonlinear-solvers
branch
2 times, most recently
from
September 13, 2026 17:52
90e7802 to
daf89a7
Compare
Moves the bounded solver study out of SciML/NonlinearSolve.jl#1273 into a single self-contained benchmark document, following the existing NonlinearProblem group conventions: the 79-case sweep across 12 families with order scoring and a performance profile, plus a paired trust-region/Gauss-Newton re-measurement as a closing section. Problem definitions and the independent ForwardDiff Jacobian check are inline. The shared environment requires the released NonlinearSolve 4.31 / NonlinearSolveBase 2.50 / NonlinearSolveFirstOrder 2.7 (which contain FastShortcutBoundedPolyalg and the native bounded solvers) and bumps NLsolve to 5; the other documents in the group run against the same environment. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Agent-Harness: Devin 3000.10.21 Agent-Model: SWE-2 Max Agent-Session: local transcript /home/crackauc/.local/share/devin/cli/transcripts/aluminum-blizzard.json
ChrisRackauckas-Claude
force-pushed
the
benchmark/bounded-nonlinear-solvers
branch
from
September 13, 2026 17:52
daf89a7 to
dfe1524
Compare
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Relocates the bounded nonlinear solver study out of SciML/NonlinearSolve.jl#1273 into a single self-contained document in the existing
NonlinearProblembenchmark group,benchmarks/NonlinearProblem/bounded_solvers.jmd, following the conventions of the other documents in that folder.The document measures box-constrained
NonlinearProblem/NonlinearLeastSquaresProblemsolves across 79 problem/start/representation combinations in 12 families (Rosenbrock, Powell singular, Beale, Brown badly scaled, exponential curve fitting, rank-deficient/underdetermined/fixed-variable linear systems, nonlinear diffusion at 64/256/1,024 unknowns in dense, sparse, and matrix-free form, Freudenstein–Roth, Wood, Bard, Kowalik–Osborne, and automatic-Jacobian variants). Eleven solver configurations per case coverFastShortcutBoundedPolyalg, the seven native bounded configurations, two transformed baselines, and the previous unbounded default.@testset.Environment note
The benchmark needs
FastShortcutBoundedPolyalgand the native bounded solvers, which released in NonlinearSolve 4.31 / NonlinearSolveBase 2.50 / NonlinearSolveFirstOrder 2.7 (SciML/NonlinearSolve.jl#1273, renumbered in #1276). The compat bounds inbenchmarks/NonlinearProblem/Project.tomlrequire those releases;NLsolvewas bumped to 5, which the new NonlinearSolve requires. Because theNonlinearProblemgroup shares one environment, the version bump applies to the group's other documents as well.Validation
Woven locally with the CI entrypoint (
julia --threads=auto --project=. benchmark.jl benchmarks/NonlinearProblem/bounded_solvers.jmd, Julia 1.12.7) with no errors.Reproduction against the measurements recorded in SciML/NonlinearSolve.jl#1273 (taken on a different shared host, so small timing differences are expected):
Test plan
julia --threads=auto --project=. benchmark.jl benchmarks/NonlinearProblem/bounded_solvers.jmd🤖 Generated with Devin 3000.10.21 (model: SWE-2 Max), local session
aluminum-blizzard(transcript: /home/crackauc/.local/share/devin/cli/transcripts/aluminum-blizzard.json)