Skip to content

Commit 1355159

Browse files
Transurgeonclaude
andcommitted
Revert default backend to CPP; use parameterized benchmarks instead
DIFF_ENGINE doesn't yet support all atoms, so keep CPP as default. The matrix_stuffing benchmarks now use ASV parameterized benchmarks to compare both backends side-by-side. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a2659d4 commit 1355159

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cvxpy/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
DIFF_ENGINE_CANON_BACKEND = "DIFF_ENGINE" # C diff engine backend for parameter application
197197

198198
# Default canonicalization backend, pyodide uses SciPy
199-
DEFAULT_CANON_BACKEND = DIFF_ENGINE_CANON_BACKEND if sys.platform != "emscripten" else SCIPY_CANON_BACKEND
199+
DEFAULT_CANON_BACKEND = CPP_CANON_BACKEND if sys.platform != "emscripten" else SCIPY_CANON_BACKEND
200200

201201
# DPP parameter threshold for auto-selecting COO backend
202202
# When problem is DPP and total parameter size >= this threshold, use COO backend

0 commit comments

Comments
 (0)