Package: nlsic 1.0.4

Serguei Sokol

nlsic: Non Linear Least Squares with Inequality Constraints

We solve non linear least squares problems with optional equality and/or inequality constraints. Non linear iterations are globalized with back-tracking method. Linear problems are solved by dense QR decomposition from 'LAPACK' which can limit the size of treated problems. On the other side, we avoid condition number degradation which happens in classical quadratic programming approach. Inequality constraints treatment on each non linear iteration is based on 'NNLS' method (by Lawson and Hanson). We provide an original function 'lsi_ln' for solving linear least squares problem with inequality constraints in least norm sens. Thus if Jacobian of the problem is rank deficient a solution still can be provided. However, truncation errors are probable in this case. Equality constraints are treated by using a basis of Null-space. User defined function calculating residuals must return a list having residual vector (not their squared sum) and Jacobian. If Jacobian is not in the returned list, package 'numDeriv' is used to calculated finite difference version of Jacobian. The 'NLSIC' method was fist published in Sokol et al. (2012) <doi:10.1093/bioinformatics/btr716>.

Authors:Serguei Sokol [aut, cre]

nlsic_1.0.4.tar.gz
nlsic_1.0.4.zip(r-4.5)nlsic_1.0.4.zip(r-4.4)nlsic_1.0.4.zip(r-4.3)
nlsic_1.0.4.tgz(r-4.4-any)nlsic_1.0.4.tgz(r-4.3-any)
nlsic_1.0.4.tar.gz(r-4.5-noble)nlsic_1.0.4.tar.gz(r-4.4-noble)
nlsic_1.0.4.tgz(r-4.4-emscripten)nlsic_1.0.4.tgz(r-4.3-emscripten)
nlsic.pdf |nlsic.html
nlsic/json (API)
NEWS

# Install 'nlsic' in R:
install.packages('nlsic', repos = c('https://mathscell.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mathscell/nlsic/issues

On CRAN:

2.48 score 1 stars 1 packages 4 scripts 220 downloads 13 exports 1 dependencies

Last updated 5 months agofrom:9b52e0c255. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 30 2024
R-4.5-winOKOct 30 2024
R-4.5-linuxOKOct 30 2024
R-4.4-winOKOct 30 2024
R-4.4-macOKOct 30 2024
R-4.3-winOKOct 30 2024
R-4.3-macOKOct 30 2024

Exports:equa2vecmatjoinldpls_lnls_ln_svdlsilsi_lnlsi_reglsie_lnnlsicNullatlsuplo2uco

Dependencies:nnls