Sage computes minima numerically. The function is of the form
minimize(function,initial guess, gradiant, Hessian, algorithm).
The default algorithm is 'symplex'. You can also specify algorithm='powell'. Specifying 'ncg' uses Newton's method; however, this requires that you specify a gradiant and a Hessian function.
|
|
|
|