Linear System
*Author of this lecture: Tianyi Xie, University of California, Los Angeles
In the context of simulation with optimization, solving linear systems is a fundamental step for Newton-type methods. At each iteration (see Algorithm 3.3.1), we need to compute a search direction as:
where is typically the Hessian (or a positive-definite proxy) of the incremental potential, and is its gradient at the current iterate. In practice, is often a large, sparse, symmetric positive definite (SPD) matrix. This is equivalent to solving a linear system of the form:
where , , and .
Efficiently solving these linear systems is crucial for the performance of the optimization time integrator. Depending on the problem size and structure, both direct and iterative solvers are commonly used. The following sections introduce the basic structure of these linear systems and discuss common solution strategies.