[petsc-users] Guidance on using Tao for unconstrained minimization

Ellen Price ellen.price at cfa.harvard.edu
Wed Feb 26 17:59:27 CST 2020


Hi Jed,

Thanks for getting back to me! Here's the output for my CG config. Sorry
it's kind of a lot.

Ellen

On Wed, Feb 26, 2020 at 12:43 PM Jed Brown <jed at jedbrown.org> wrote:

> Could you share output for your current configuration with -tao_monitor
> -tao_ls_monitor -tao_view?
>
> "Ellen M. Price" <ellen.price at cfa.harvard.edu> writes:
>
> > Hello PETSc users!
> >
> > I am using Tao for an unconstrained minimization problem. I have found
> > that CG works better than the other types for this application. After
> > about 85 iterations, I get an error about line search failure. I'm not
> > clear on what this means, or how I could mitigate the problem, and
> > neither the manual nor FAQ give any guidance. Can anyone suggest things
> > I could try to help the method converge? I have function and gradient
> > info, but no Hessian.
> >
> > Thanks,
> > Ellen Price
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200226/4b41ef1a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tao_cg.out
Type: application/octet-stream
Size: 187171 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200226/4b41ef1a/attachment-0001.obj>


More information about the petsc-users mailing list