📄 readme
字号:
libLBFGS: C library of limited-memory BFGS (L-BFGS) Copyright (c) 1990, Jorge Nocedal Copyright (c) 2007-2009, Naoaki Okazaki =========================================================================1. Introduction=========================================================================libLBFGS is a C port of the implementation of Limited-memoryBroyden-Fletcher-Goldfarb-Shanno (L-BFGS) method written by Jorge Nocedal.The original FORTRAN source code is available at:http://www.ece.northwestern.edu/~nocedal/lbfgs.htmlThe L-BFGS method solves the unconstrainted minimization problem: minimize F(x), x = (x1, x2, ..., xN),only if the objective function F(x) and its gradient G(x) are computable.Refer to the libLBFGS web site for more information.http://www.chokkan.org/software/liblbfgs/=========================================================================2. How to build=========================================================================[Microsoft Visual Studio 2008]Open the solution file "lbfgs.sln" and build it.[GCC]$ ./configure$ make$ make install # To install libLBFGS library and header.=========================================================================3. Note on SSE/SSE2 optimization=========================================================================This library has SSE/SSE2 optimization routines for vector arithmeticoperations on Intel/AMD processors. The SSE2 routine is for 64 bit doublevalues, and the SSE routine is for 32 bit float values. Since the defaultparameters in libLBFGS are tuned for double precision values, it may needto modify these parameters to use the SSE optimization routines.To use the SSE2 optimization routine, specify --enable-sse2 option to theconfigure script.$ ./configure --enable-sse2To build libLBFGS with SSE2 optimization enabled on Microsoft VisualStudio 2005, define USE_SSE and __SSE2__ symbols.Make sure to run libLBFGS on processors where SSE2 instrunctions areavailable. The library does not check the existence of SSE2 instructions.To package maintainers,Please do not enable SSE/SSE2 optimization routine. The library builtwith SSE/SSE2 optimization will crash without any notice when necessarySSE/SSE2 instructions are unavailable on CPUs.=========================================================================4. License=========================================================================libLBFGS is distributed under the term of the MIT license.Please refer to COPYING file in the distribution.$Id: README 56 2009-02-28 09:41:21Z naoaki $
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -