After reading the quadratic penalty method.i still don't know what is this,take an simple question for example,this example is from page 491~492 of "Numerical Optimization" this book.
http://www.bioinfo.org.cn/~wangchao/maa/Numerical_Optimization.pdf
However.i still don't understand what is this actually doing?i mean,how does quadratic penalty method work.The only i learn is to rewrite the formula from the normal optimal case problem,i mean 17.3 to 17.4.
In this example,does quadratic penalty method actually does is like we all know the solution is $x_1=-1.x_2=-1$,but assume we don't know,so we re-write the 17.3 formula to 17.4 formula,and assume and increase the $\mu$ value to calculate the $x_1$ and $x_2$ value,and the bigger the $\mu$ value is,the closer the $x_1$ and $x_2$ value to $x_1=-1$ and $x_2=-1$ ? right?
And the best time to use the quadratic penalty method is when the constraint number isn't a lot.
Is my thinking right?if not,i hope someone can tell me the answer.

