Skip to content

rlppinv

Linear Programming via Regularized Least Squares

v0.3.0 · Mar 10, 2026 · MIT + file LICENSE

Description

The Linear Programming via Regularized Least Squares (LPPinv) is a two-stage estimation method that reformulates linear programs as structured least-squares problems. Based on the Convex Least Squares Programming (CLSP) framework, LPPinv solves linear inequality, equality, and bound constraints by (1) constructing a canonical constraint system and computing a pseudoinverse projection, followed by (2) a convex-programming correction stage to refine the solution under additional regularization (e.g., Lasso, Ridge, or Elastic Net). LPPinv is intended for underdetermined and ill-posed linear problems, for which standard solvers fail.

Downloads

1.8K

Last 30 days

2942nd

2.2K

Last 90 days

2.4K

Last year

Trend: +904.4% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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 17, 2026
ERROR 8 OK · 0 NOTE · 0 WARNING · 6 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-linux-x86_64-debian-clang

tests

Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rlppinv)
  > 
  > test_check("rlppinv")
  Saving _problems/test-lppinv-17.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ═
...[truncated]...
L) as.matrix else as.vector)(y)
   12.           └─base::as.matrix.default(y)
   13.             └─base::array(...)
   14.               └─base::as.vector(data)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

tests

Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rlppinv)
  > 
  > test_check("rlppinv")
  Saving _problems/test-lppinv-17.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed
...[truncated]...
L) as.matrix else as.vector)(y)
   12.           └─base::as.matrix.default(y)
   13.             └─base::array(...)
   14.               └─base::as.vector(data)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rlppinv)
  > 
  > test_check("rlppinv")
  Saving _problems/test-lppinv-17.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ F
...[truncated]...
L) as.matrix else as.vector)(y)
   12.           └─base::as.matrix.default(y)
   13.             └─base::array(...)
   14.               └─base::as.vector(data)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-release-linux-x86_64

tests

Running ‘testthat.R’ [5s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rlppinv)
  > 
  > test_check("rlppinv")
  Saving _problems/test-lppinv-17.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ═
...[truncated]...
L) as.matrix else as.vector)(y)
   12.           └─base::as.matrix.default(y)
   13.             └─base::array(...)
   14.               └─base::as.vector(data)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rlppinv)
  > 
  > test_check("rlppinv")
  Saving _problems/test-lppinv-17.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ F
...[truncated]...
L) as.matrix else as.vector)(y)
   12.           └─base::as.matrix.default(y)
   13.             └─base::array(...)
   14.               └─base::as.vector(data)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rlppinv)
  > 
  > test_check("rlppinv")
  Saving _problems/test-lppinv-17.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ F
...[truncated]...
L) as.matrix else as.vector)(y)
   12.           └─base::as.matrix.default(y)
   13.             └─base::array(...)
   14.               └─base::as.vector(data)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted

Dependency Network

Dependencies Reverse dependencies rclsp rlppinv

Version History

updated 0.3.0 ← 0.2.0 diff Mar 10, 2026
new 0.2.0 Mar 10, 2026
updated 0.2.0 ← 0.1.0 diff Jan 29, 2026
new 0.1.0 Dec 2, 2025