rlppinv
Linear Programming via Regularized Least Squares
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
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
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
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
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
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
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
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