[petsc-users] PETSC with LBFGS solver

Jed Brown jed at jedbrown.org
Wed Jan 22 08:39:26 CST 2014

Bin Li <icelee.lee at gmail.com> writes:

> Dear All,
> I want to use the LBFGS solver, but I can not find any example on how to
> code it ?

SNESSetFunction and run with -snes_type qn.

See also http://59A2.org/files/BrownBrune-LowRankQuasiNewtonRobustJacobianLagging-2013.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140122/806ccf0c/attachment.pgp>

More information about the petsc-users mailing list