Learn R Programming

clarabel

R interface to the Clarabel interior point conic optimization solver from the Oxford Control Group.

Stable versions can be installed from CRAN as usual. Development versions from this repo can be installed via:

## Install remotes packages if not available
if (! "remotes" %in% installed.packages()[, 1] ) {
	install.packages("remotes", repository = "https://cran.r-project.org")
}
remotes::install_github("oxfordcontrol/clarabel-r")

The above code assumes availability of the Cargo/Rust infrastructure and R compilation tools to install from source, all freely available.

The clarabel package site has further package details including a vignette.

Copy Link

Version

Install

install.packages('clarabel')

Monthly Downloads

3,163

Version

0.11.2

License

Apache License (== 2.0)

Maintainer

Balasubramanian Narasimhan

Last Published

March 1st, 2026

Functions in clarabel (0.11.2)

ClarabelSolver

A persistent Clarabel solver that can be reused across R calls.
solver_update

Update problem data on a persistent Clarabel solver
solver_is_update_allowed

Check if data updates are allowed on a persistent solver
clarabel_solver

Create a persistent Clarabel solver object
clarabel_control

Control parameters with default values and types in parenthesis
solver_solve

Solve using a persistent Clarabel solver
solver_status_descriptions

Return the solver status description as a named character vector
clarabel

Interface to 'Clarabel', an interior point conic solver
clarabel-package

Interface to Clarabel solver implemented in Rust.