SciML / SciML/JumpProcesses.jl

add option to convert MassActionJumps to ConstantRateJumps

Open
#427 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
150
Forks
41
Avg merge
1d 9h
Merged PRs (30d)
28

Description

In some preliminary benchmarking for a talk I'm finding that when using Direct with a small number of jumps (~6), we can actually now get a ~30% speedup using ConstantRateJumps. This needs more investigation, but it may be that in the case of a small number of jumps, where we don't need function wrappers and use recursion for type-stability, we can now do better than MassActionJumps.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how Direct handles MassActionJumps and ConstantRateJumps, using the reported small-jump benchmark as the initial investigation. Determine the intended conversion option and validate that the selected representation produces the claimed performance improvement; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.