Formation / swarm (coupled agents)

ADVANTAGES1 · dim 48

SolvSRK wins. At the comparison noise level, SolvSRK beats the best baseline by at least 10 percentage points of survival, or by at least 0.05 balanced score when survival is tied. Use SolvSRK for this class of problem. All verdicts →

N-agent coupled quadrotors; common inter-agent coupling terms

Drone dynamics & autonomy

Problem definition

Canonical benchmark implementation

Canonical RHS excerpt from the registered callable used for this benchmark cell. Expand it to verify the state equations; it is not a standalone runnable fixture.

Show canonical RHS excerpt
def rhs_E3(t, y):
    states = y.reshape(_N_AGENTS, 4)
    d = np.zeros_like(states)

    center_drift = np.array([0.5 * t, 0.2 * t])

    for i in range(_N_AGENTS):
        xi, yi, vxi, vyi = states[i]
        target = _FORMATION[i] + center_drift
        fx = _K_FORM * (target[0] - xi) - _D_FORM * vxi
        fy = _K_FORM * (target[1] - yi) - _D_FORM * vyi

        for j in range(_N_AGENTS):
            if _ADJ[i, j] > 0:
                dx = states[j, 0] - xi - (_FORMATION[j, 0] - _FORMATION[i, 0])
                dy = states[j, 1] - yi - (_FORMATION[j, 1] - _FORMATION[i, 1])
                fx += _K_FORM * 0.5 * dx
                fy += _K_FORM * 0.5 * dy

        d[i, 0] = vxi
        d[i, 1] = vyi
        d[i, 2] = fx
        d[i, 3] = fy

    return d.ravel()
Parameters
  • _ADJ = [0, 1, 0, 0, 0, 1, …] [shape=(6, 6), min=0, max=1]
  • _D_FORM = 1
  • _FORMATION = [3, 0, 1.5, 2.6, -1.5, 2.6, -3, 0, -1.5, -2.6, 1.5, -2.6]
  • _K_FORM = 2
  • _N_AGENTS = 6
Initial condition
y(0) = [3, 0, 0, 0, 1.6, 2.6, …] [shape=(24,), min=-2.7, max=3]
Horizon
t ∈ [0, 60]

Canonical RHS excerpt captured from the same registered callable used for the published benchmark. Frozen closure values are summarized below; helper imports and solver settings are intentionally omitted.

Fingerprint

Spread: low

Default noise: none

Recommendation snapshot

Clean best: SolvSRK

Noisy best: SolvSRK

Coverage

14 solver arms · clean + 5 noise levels

Ranked on survival, precision, and speed

Versions & freeze

Methodology →
Freeze
2026-08-13
libsolvsrk
2.3.0
SciPy
1.14
SUNDIALS
CVODE (bundled backend)

20 seeds/cell default · 14 arms · TRL 4–5 · simulation-lab validated · this page: Formation / swarm (coupled agents) (formation-swarm-coupled-agents)

Governed SolvTune benchmark freeze; per-arm medians only. RHS definitions and raw trial rows are not published.

Self-reported by Resonix Labs · not independently verified

Results matrix

Pick an objective and a noise level to rank all arms on survival, median SCD, median nfev, and median wall time. Medians across seeds.

Objective

Best overall trade-off of survival, precision, and speed.

Noise level

#SolverSurvivalSCDnfevWallScore
1SolvSRK
100%
14.71,05122 ms0.969
2SciPy LSODASciPy
100%
13.178528 ms0.932
3SciPy RadauSciPy
100%
12.42,254120 ms0.913
4SciPy BDFSciPy
100%
11.81,08770 ms0.900
5Vern7external
100%
11.21,0924.44 s0.885
6FBDFexternal
100%
11.17135.48 s0.884
7Vern9external
100%
11.01,3144.36 s0.880
8TRBDF2external
100%
10.81,6075.56 s0.877
9SciPy DOP853SciPy
100%
9.974628 ms0.855
10CVODE Adamsexternal
100%
9.452233 ms0.843
11SciPy RK23SciPy
100%
9.12,657107 ms0.836
12SciPy RK45SciPy
100%
8.61,01639 ms0.823
13CVODE BDFexternal
100%
8.467339 ms0.819
14Tsit5external
100%
8.4924951 ms0.818

At Clean, best balanced arm is SolvSRK.

Values are medians across seeds, measured by Resonix Labs on Resonix hardware and not independently verified; nfev and wall are on reference lab hardware (indicative). Under injected noise only SolvSRK and the SciPy arms are run. How we measure accuracy → · Verification status →

SolvScout · free

Profile your problem for free

This page shows one published benchmark cell. SolvScout fingerprints your ODE, compares it to the full corpus, and recommends a solver with the same survival / precision / speed ranking you see here — including when a SciPy arm wins.

SolvSRK · 30-day trial

Run the winner on your machine

SolvSRK is the stiffness-adaptive integrator behind the SolvSRK column in these tables. Create an account, activate a machine, and take a 30-day trial — same binary you'd ship after purchase.

Cite this page

Replace the access date. Pin the freeze ID and library versions when comparing against a later export. Cite it as what it is — a self-reported vendor benchmark, not an independently verified result. The note field says so; please keep it.

@misc{resonix_evidence_formation_swarm_coupled_agents_2026,
  title        = {Resonix Evidence Portal: Formation / swarm (coupled agents)},
  author       = {{Resonix Labs (Canada) Inc.}},
  year         = {2026},
  howpublished = {\url{https://resonix.tech/evidence/problems/formation-swarm-coupled-agents}},
  note         = {Self-reported vendor benchmark; internally generated by Resonix Labs and not independently verified. Accessed YYYY-MM-DD. Freeze 2026-08-13; libsolvsrk 2.3.0; SciPy 1.14.}
}

Related

TRL 4–5 · simulation-lab validated · 398 problems · 14 solver arms · clean + 5 noise levels

Freeze: 2026-08-13 · scipy 1.14 · libsolvsrk 2.3.0 · Methodology

Self-reported by Resonix Labs · not independently verified · Verification status