Skip to content

clarabel

0.11.3Package record

Interior Point Conic Optimization Solver

5packages dependsuggested by 3
153.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.11.3
  • clarabel_control() defaults now match Clarabel.rs exactly. Several had fallen behind upstream:
  • Chordal decomposition is now **enabled by default** for semidefinite programs: chordal_decomposition_enable, chordal_decomposition_compact and chordal_decomposition_complete_dual are TRUE, and chordal_decomposition_merge_method is "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. Pass chordal_decomposition_enable = FALSE for the previous behavior.
Show all changes in 0.11.3Hide the rest of the changes in 0.11.3
  • reduced_tol_infeas_abs is now 5e-12, not 5e-5, matching upstream since Clarabel.rs v0.10.0. Smaller means *less* margin required, so the previous value was stricter than upstream; the change makes AlmostPrimalInfeasible and AlmostDualInfeasible marginally easier to reach on borderline problems.
  • direct_solve_method is 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_method options that never worked: "cholmod" (never existed in Clarabel.rs; it is a Clarabel.jl option) 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 as 1e-7) and iterative_refinement_reltol (1e-13, was documented as 1e-12). The code was already correct; only the help page was wrong.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 8.5 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.11.3
READMEYes · 71 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.11.3Citation fileYes · cites a publicationWebsiteYes · pkgdown
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

153.3K
CRAN downloads in the past year
Rank #1,044 · ~420/day · ~12.8K/mo
Daily download trend is not available in this view yet.
13.6K30 days
36.8K90 days
153.3K1 year
Compare downloads with other packages →
Also on2.4K r2u2.8K conda_forge47 c2d4u

Repository

11Stars
3Forks
1Open issues
0Open PRs
8Releases
109Commits
3Commit identities
109 commits · Last activity 2026-08-23 · 0% stars, 30d
Responsiveness
How these are sampled
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

2024-09-09 · 102026-07-07 · 11
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-08-23

pkgdown site last built 2026-08-23

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-02-14
    Named in .Rbuildignore: .claude, CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: at least 13 crediting it in the message
Models named in its commits
  • Claude Opus 4.612 commits · Feb 2026
  • Claude Fable 51 commit · Jul 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing clarabel adds 1 package (1 with compiled code, 629 KB of source tarballs). Heaviest: cli 629 KB.

Depends (0)
none
Imports (2)
climethods
LinkingTo (0)
none
Suggests (4)
Enhances (0)
none
Reverse dependencies
5direct
46indirect
Imports 5
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (6)
Author, Maintainer since 0.4.1 (2023)
Author, Copyright holder
Contributor
see inst/AUTHORS file for details
Contributor
For vendoring/Makefile hints/R scripts for generating crate authors/licenses
Contributor · added in 0.10.0
For configure scripts and tools/msvr.R lifted from rtiktoken package
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.11.3Latest
    record
    2026-03-01 · current release · diff ↗
  • 0.11.2
    record
    2026-03-01 · diff ↗ ·
    added 4 exports
    clarabel_solver, solver_is_update_allowed, solver_solve, solver_update
  • 0.11.1
    record
    2025-09-24 · diff ↗
  • 0.10.1
    record
    2025-04-17 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.10.0
    record
    2025-02-18 · diff ↗
  • 0.9.0.1
    record
    2024-09-03 · diff ↗
  • 0.9.0
    record
    2024-06-22 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.1
    record
    2023-06-24 · diff ↗
  • 0.4.1
    record
    2023-04-25
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for clarabel version 0.11.3 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy