Functions¶
Descent methods module¶
|
Helper function to evaluate Hessian, compute Newton's direction. |
Descent method to approximate minimum of function f: Rn -> R. |
Compute step size module¶
Line search that sufficiently decreases f restricted to a ray in the direction dir_desc. |
Utils module¶
|
Relative or absolute error between x_obj and x_approx. |
|
Auxiliary function to print table with list of named columns and values in data dictionary. |
Auxiliary function for plotting inner iterations error. |
|
|
Auxiliar function for plotting sequence of approximations. |
Utils logarithmic barrier module¶
|
Auxiliary function for evaluation of constraint inequalities in logarithmic barrier |
|
Generator for functional form of inequalities. |
|
Auxiliary function that build a numpy array with constraints evaluated. |
|
Implementation of phi function for logarithmic barrier. |