Port of the 'Scilab' 'n1qn1' Module for Unconstrained BFGS Optimization

Provides 'Scilab' 'n1qn1'. This takes more memory than traditional L-BFGS. The n1qn1 routine is useful since it allows prespecification of a Hessian. If the Hessian is near enough the truth in optimization it can speed up the optimization problem. The algorithm is described in the 'Scilab' optimization documentation located at < https://www.scilab.org/sites/default/files/optimization_in_scilab.pdf>. This version uses manually modified code from 'f2c' to make this a C only binary.


Codecov test coverage R-CMD-check CRAN version

Ported By: Matthew Fidler, Wenping Wang

Algorithm Authors: C. Lemarechal, Stephen L. Campbell, Jean-Philippe Chancelier, Ramine Nikoukhah

R port of the Scilab n1qn1 module. This package provides n1qn1, or Quasi-Newton BFGS "qn" without constraints. This takes more memory than traditional L-BFGS. This routine is useful since it allows prespecification of a Hessian; If the Hessian is near the truth in optimization it can speed up the optimization problem.

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("n1qn1")

6.0.1-14 by Matthew Fidler, 6 months ago


https://github.com/nlmixr2/n1qn1c, https://nlmixr2.github.io/n1qn1c/


Report a bug at https://github.com/nlmixr2/n1qn1c/issues


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


Authors: Matthew Fidler [aut, cre] , Wenping Wang [aut] , Claude Lemarechal [aut, ctb] , Joseph Bonnans [ctb] , Bill Denney [ctb] , Jean-Charles Gilbert [ctb] , Claudia Sagastizabal [ctb] , Stephen L. Campbell , [ctb] , Jean-Philippe Chancelier [ctb] , Ramine Nikoukhah [ctb] , Dirk Eddelbuettel [ctb] , Bruno Jofret [ctb] , INRIA [cph]


Documentation:   PDF Manual  


CeCILL-2 license


Imports Rcpp

Suggests testthat, covr

Linking to RcppArmadillo, Rcpp


Imported by nlmixr2est.

Suggested by nlmixr2.


See at CRAN