Skip to content

CMLS

Constrained Multivariate Least Squares

v1.1 · Oct 8, 2025 · GPL (>= 2)

Description

Solves multivariate least squares (MLS) problems subject to constraints on the coefficients, e.g., non-negativity, orthogonality, equality, inequality, monotonicity, unimodality, smoothness, etc. Includes flexible functions for solving MLS problems subject to user-specified equality and/or inequality constraints, as well as a wrapper function that implements 24 common constraint options. Also does k-fold or generalized cross-validation to tune constraint options for MLS problems. See ten Berge (1993, ISBN:9789066950832) for an overview of MLS problems, and see Goldfarb and Idnani (1983) <doi:10.1007/BF02591962> for a discussion of the underlying quadratic programming algorithm.

Downloads

CRAN

603

Last 30 days

5556th

2.1K

Last 90 days

10.8K

Last year

Trend: -9.6% (30d vs prior 30d)

r2u CRAN

15

Last 30 days

61

Last 90 days

214

Last year

Trend: -34.8% (30d vs prior 30d)

autoCRAN

3

Last 7 days

14

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (3)

depends

imports

suggests

Dependency Network

Dependencies Reverse dependencies quadprog multiway albatross ChemoSpec2D CMLS

Version History

4 tracked
new 1.1 Mar 10, 2026
updated 1.1 ← 1.0-1 diff Oct 7, 2025
updated 1.0-1 ← 1.0-0 diff Mar 30, 2023
new 1.0-0 Jun 9, 2018