Solving and Optimizing Large-Scale Nonlinear Systems

Barzilai-Borwein spectral methods for solving nonlinear system of equations, and for optimizing nonlinear objective functions subject to simple constraints. A tutorial style introduction to this package is available in a vignette on the CRAN download page or, when the package is loaded in an R session, with vignette("BB").


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("BB")

2026.1.0 by Ravi Varadhan, 8 months ago


Browse source code at https://github.com/cran/BB


Authors: Ravi Varadhan [aut, cph, cre] , Paul Gilbert [aut] , Marcos Raydan [ctb] (with co-authors , wrote original algorithms in fortran. These provided some guidance for implementing R code in the BB package.) , JM Martinez [ctb] (with co-authors , wrote original algorithms in fortran. These provided some guidance for implementing R code in the BB package.) , EG Birgin [ctb] (with co-authors , wrote original algorithms in fortran. These provided some guidance for implementing R code in the BB package.) , W LaCruz [ctb] (with co-authors , wrote original algorithms in fortran. These provided some guidance for implementing R code in the BB package.)


Documentation:   PDF Manual  


GPL-3 license


Imports stats, quadprog

Suggests setRNG, survival, Hmisc, numDeriv


Imported by BinOrdNonNor, CatDyn, DSBayes, HOIFCar, LifeHist, SimCorrMix, SimMultiCorrData, aftgee, antitrust, calibrar, dQTG.seq, ememax, ktsolve, maczic, mergersim, mixAR, mlfit, mlt, orsk, pcts, pim, reReg.

Depended on by BinNonNor, GNE, NPCD, PoisBinNonNor, PoisBinOrdNonNor, PoisNonNor, RobPer, bunching, mederrRank, mvord.

Suggested by ROI.plugin.optimx, cxr, flexFitR, metafor, momentuHMM, optimx, simsurv, trade.


See at CRAN