Did you know ... | Search Documentation: |
![]() | Pack lbfgs -- liblbfgs-1.10/README |
libLBFGS: C library of limited-memory BFGS (L-BFGS)
=========================================================================
The 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/
=========================================================================
[GCC] $ ./configure $ make $ make install # To install libLBFGS library and header.
=========================================================================
To use the SSE2 optimization routine, specify --enable-sse2 option to the configure script.
$ ./configure --enable-sse2
To build libLBFGS with SSE2 optimization enabled on Microsoft Visual Studio 2005, define USE_SSE and SSE2 symbols.
Make sure to run libLBFGS on processors where SSE2 instrunctions are available. The library does not check the existence of SSE2 instructions.
To package maintainers,
Please do not enable SSE/SSE2 optimization routine. The library built with SSE/SSE2 optimization will crash without any notice when necessary SSE/SSE2 instructions are unavailable on CPUs.
=========================================================================
$Id$