Interior Point Conic Optimization Solver
Overview
A versatile interior point solver that solves linear programs (LPs), quadratic programs (QPs), second-order cone programs (SOCPs), semidefinite programs (SDPs), and problems with exponential and power cone constraints (https://clarabel.org/stable/). For quadratic objectives, unlike interior point solvers based on the standard homogeneous self-dual embedding (HSDE) model, Clarabel handles quadratic objective without requiring any epigraphical reformulation of its objective function. It can therefore be significantly faster than other HSDE-based solvers for problems with quadratic objective functions. Infeasible problems are detected using using a homogeneous embedding technique.
clarabel_control()defaults now matchClarabel.rsexactly. Several had fallen behind upstream:- Chordal decomposition is now **enabled by default** for semidefinite programs:
chordal_decomposition_enable,chordal_decomposition_compactandchordal_decomposition_complete_dualareTRUE, andchordal_decomposition_merge_methodis"clique_graph". On a semidefinite program with a decomposable sparsity pattern this is dramatically faster — on a banded example with a 120x120 semidefinite cone, 0.007 seconds against 422 seconds. Two consequences: the dual variables reported for semidefinite constraints are not in general the same as before, and data updates are blocked when a decomposition actually takes place. Linear, quadratic and second-order cone problems are unaffected and remain updatable. Passchordal_decomposition_enable = FALSEfor the previous behavior.
Show all changes in 0.11.3Hide the rest of the changes in 0.11.3
reduced_tol_infeas_absis now5e-12, not5e-5, matching upstream sinceClarabel.rsv0.10.0. Smaller means *less* margin required, so the previous value was stricter than upstream; the change makesAlmostPrimalInfeasibleandAlmostDualInfeasiblemarginally easier to reach on borderline problems.direct_solve_methodis now"auto", not"qdldl", matching upstream since v0.11.0. This build links only the QDLDL solver, so"auto"resolves to the same code path and results are unchanged.- Removed two
direct_solve_methodoptions that never worked:"cholmod"(never existed inClarabel.rs; it is aClarabel.jloption) and"mkl"(requires a Pardiso feature this build does not enable). The accepted values are"auto"and"qdldl". - Corrected the documented defaults for
tol_ktratio(1e-6, was documented as1e-7) anditerative_refinement_reltol(1e-13, was documented as1e-12). The code was already correct; only the help page was wrong.
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-12
- ERROR12 OK, 1 ERROR2026-10-09
- OK13 OK2026-09-25
- ERROR12 OK, 1 ERROR2026-09-15
- OK13 OK2026-09-04
Show 19 earlier changesHide 19 earlier changes
- ERROR12 OK, 1 ERROR2026-08-30
- OK13 OK2026-08-09
- ERROR12 OK, 1 ERROR2026-08-06
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-30
- NOTE12 OK, 1 NOTE2026-07-29
- OK13 OK2026-07-05
- ERROR12 OK, 1 ERROR2026-07-03
- OK13 OK2026-06-12
- ERROR11 OK, 2 ERROR2026-06-01
- OK13 OK2026-05-29
- ERROR12 OK, 1 ERROR2026-05-26
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-21
- ERROR11 OK, 2 NOTE, 1 ERROR2026-03-18
- NOTE11 OK, 3 NOTE2026-03-17
- ERROR11 OK, 2 NOTE, 1 ERROR2026-03-12
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 9 (1 internal)includes a package overview page
- Examples that run
- 43%3 run in a plain check · 4 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 94%
- Median days to close, 50 most recently updated closed issues
- 10
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/oxfordcontrol/clarabel-r on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-02-14Named in .Rbuildignore: .claude, CLAUDE.mdPull request it wrote: opened by a project memberCommits: at least 13 crediting it in the message
- Claude Opus 4.612 commits · Feb 2026
- Claude Fable 51 commit · Jul 2026
Dependencies
Installing clarabel adds 1 package (1 with compiled code, 629 KB of source tarballs). Heaviest: cli 629 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.11.3Latest
- 0.11.22026-03-01 · diff ↗ ·
added 4 exports
clarabel_solver, solver_is_update_allowed, solver_solve, solver_update - 0.11.12025-09-24 · diff ↗
- 0.10.12025-04-17 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.10.02025-02-18 · diff ↗
- 0.9.0.12024-09-03 · diff ↗
- 0.9.02024-06-22 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.5.12023-06-24 · diff ↗
- 0.4.12023-04-25
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-04-25
- Total releases
- 9 / 3 yrs
- License
- Apache License (== 2.0)
- Download size
- 5.7 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("clarabel")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.48550/arxiv.2405.12762, 10.1016/j.ifacol.2020.12.1255, 10.48550/arxiv.2305.12275.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.