H=chol.inverse();
}
-/* Find the optimum which is in the planes generated by the active
+/** Find the optimum which is in the planes generated by the active
constraints.
*/
Vector
return idx;
}
-///the numerical solving
-/** Mordecai Avriel, Nonlinear Programming: analysis and methods (1976)
+
+/**the numerical solving. Mordecai Avriel, Nonlinear Programming: analysis and methods (1976)
Prentice Hall.
Section 13.3
Vector x(start);
Vector gradient=quad*x+lin;
-
-
+// Real fvalue = x*quad*x/2 + lin*x + const_term;
+// it's no use.
+
Vector last_gradient(gradient);
int iterations=0;