# Tutorials#

This page provides connections to PETSc tutorial examples by type of physics being modeled, discretization technique being used, solvers used, etc.

In addition, PETSc has many additionally poorly curated tutorial examples, found in the `tutorials/`

directories throughout the PETSc `src/`

tree.

Optimization

Least-squares (Manual: Nonlinear Least-Squares)

Quadratic (Manual: Quadratic Solvers)

Unconstrained (Manual: Unconstrained Minimization)

Bound (Manual: Bound-Constrained Optimization)

Constrained (Manual: Generally Constrained Solvers)

Complementarity (Manual: Complementarity)

PDE constrained (Manual: PDE-constrained Optimization)