rclsp: A Modular Two-Step Convex Optimization Estimator for Ill-Posed Problems

Convex Least Squares Programming (CLSP) is a two-step estimator for solving underdetermined, ill-posed, or structurally constrained least-squares problems, see Bolotov (2025) <doi:10.3390/math13213476>. It combines pseudoinverse-based estimation, optionally with bounds on the unknowns and signed slack variables enforced by bounded-variable least squares, with a verified convex-programming correction inspired by Lasso, Ridge, and Elastic Net, and cross-validation of its weight. The package also provides numerical stability analysis and CLSP-specific diagnostics, including partial R^2, normalized root mean square error (NRMSE), Monte Carlo t-tests for mean NRMSE, and heuristic condition-number-based sensitivity bands.

Version: 3.1.0
Depends: R (≥ 4.3)
Imports: stats, utils, CVXR (≥ 1.9.3), highs (≥ 1.14)
Suggests: testthat (≥ 3.1.7)
Published: 2026-12-05
DOI: 10.32614/CRAN.package.rclsp
Author: Ilya Bolotov ORCID iD [aut, cre]
Maintainer: Ilya Bolotov <ilya.bolotov at vse.cz>
BugReports: https://github.com/econcz/rclsp/issues
License: MIT + file LICENSE
URL: https://github.com/econcz/rclsp
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: rclsp results

Documentation:

Reference manual: rclsp.html , rclsp.pdf

Downloads:

Package source: rclsp_3.1.0.tar.gz
Windows binaries: r-devel: rclsp_2.0.1.zip, r-release: rclsp_2.0.1.zip, r-oldrel: rclsp_2.0.1.zip
macOS binaries: r-release (arm64): rclsp_2.0.1.tgz, r-oldrel (arm64): rclsp_2.0.1.tgz, r-release (x86_64): rclsp_2.0.1.tgz, r-oldrel (x86_64): rclsp_3.1.0.tgz
Old sources: rclsp archive

Reverse dependencies:

Reverse imports: rlppinv, rtmpinv

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rclsp to link to this page.