Solution of system of Linear Equations using NLP modeling

By Muhammad Al-Salamah

 

Consider the system of linear equations

Notice that A is symmetric and positive definite. The solution of the system can be obtained by solving the following optimization problem:

where A is the coefficients matrix and b is the right-hand side.