lines 7-39 of file: example/abs_normal/min_nso_linear.cpp {xrst_begin min_nso_linear.cpp} abs_normal min_nso_linear: Example and Test ########################################### Purpose ******* We minimize the function :math:`f : \B{R}^3 \rightarrow \B{R}` defined by .. math:: :nowrap: \begin{eqnarray} f( x_0, x_1, x_2 ) & = & x_0^2 + 2 (x_0 + x_1)^2 + | x_2 | \end{eqnarray} Discussion ********** This routine uses :ref:`abs_min_linear-name` which uses :ref:`lp_box-name` , a linear programming algorithm. It is mean to be compared with :ref:`min_nso_quad.cpp-name` which uses a quadratic programing algorithm for the same problem. To see this comparison, set *level* = 1 is both examples. Source ****** {xrst_literal // BEGIN C++ // END C++ } {xrst_end min_nso_linear.cpp}