LBFGS and LBFGSB are software packages for solving nonlinear optimization problems. They are designed for largescale applications in which the Hessian matrix is not available or is expensive to compute. To accelerate convergence, the two codes employ a limitedmemory quasiNewton approximation that does not require much storage or computation. LBFGS stands for "Limited memory BFGS method"; an alternate spelling is LBFGS. The LBFGS programs are used to compute the minimum of a function of many variables; they require that the user provide the gradient (but not the Hessian) of the objective function. The main difference between the two codes is that LBFGS is designed to solve unconstrained problems, while LBFGSB can accept bounds on the variables. 'LBFGS' is used in many applications, such as maximum likelihood estimation for probabilistic models and nonlinear least squares. It was written by Jorge Nocedal. LBFGS is open source and freely available for educational and commercial uses; it is governed by the "MIT license": http://opensource.org/licenses/mitlicense.php 'LBFGSB' was developed by Ciyou Zhu, Jorge Nocedal and Richard Byrd; the distribution file was last changed on 02/09/1997. The program was published in ACM Transactions on Mathematical Software; the license is described in http://www.acm.org/pubs/copyright_policy/softwareCRnotice.html The LBFGS codes are not capable of solving problems with general constraints (including linear constraints). For these kinds of applications, other software must be used, such as KNITRO. Translation to Other Languages. The LBFGS codes are written in FORTRAN and have been translated to various languages. Following are a few links: C: http://www.dgp.toronto.edu/~hertzman/courses/csc2521/fall_2004/driver1.C C++, Delphi, Visual Basic, C#: http://www.alglib.net/optimization/lbfgs.php Java: http://riso.sourceforge.net/ MATLAB wrapper: http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=9307&objectType=file Fortran 90: http://plato.asu.edu/ftp/other_software/toms778_f90.tar.gz C wrapper: http://homepages.inf.ed.ac.uk/s0450736/pmwiki/pmwiki.php/Main/Code Python: http://www.scipy.org/ SciPy References * J. Nocedal. Updating QuasiNewton Matrices with Limited Storage (1980), Mathematics of Computation 35, pp. 773782. * D. C. Liu and J. Nocedal. On the Limited Memory Method for Large Scale Optimization (1989), Mathematical Programming B, 45, 3, pp. 503528. * R. H. Byrd, P. Lu and J. Nocedal. A Limited Memory Algorithm for Bound Constrained Optimization (1995), SIAM Journal on Scientific and Statistical Computing, 16, 5, pp. 11901208. * C. Zhu, R. H. Byrd and J. Nocedal. LBFGSB: Algorithm 778: LBFGSB, FORTRAN routines for large scale bound constrained optimization (1997), ACM Transactions on Mathematical Software, Vol 23, Num. 4, pp. 550560. Links Retrieved from "http://en.wikipedia.org/"

