[petsc-users] Looking for a quick example of a symmetric KKT system

Patrick Sanan patrick.sanan at gmail.com
Fri Oct 21 12:28:31 CDT 2016


Yes, but AFAIK that example produces a 2x2 system - I was hoping for
something with a variable problem size, ideally with some sort of
physics motivating the underlying optimization problem.

On Fri, Oct 21, 2016 at 7:23 PM, Justin Chang <jychang48 at gmail.com> wrote:
> Something like this?
>
> http://www.mcs.anl.gov/petsc/petsc-current/src/tao/constrained/examples/tutorials/toy.c.html
>
>
> On Friday, October 21, 2016, Patrick Sanan <patrick.sanan at gmail.com> wrote:
>>
>> Are there any examples already in PETSc or TAO that assemble such a
>> system (which could thus be dumped)? SNES example ex73f90t assembles a
>> non-symmetric KKT system.


More information about the petsc-users mailing list