Package minfx :: Module base_classes
[hide private]
[frames] | no frames]

Module base_classes

source code

Bases classes for the minfx optimisation library.

This module contains the following base classes:

Classes [hide private]
  Min
  Line_search
  Trust_region
  Conjugate_gradient
  Hessian_mods
Functions [hide private]
 
print_iter(k=None, xk=None, fk=None, print_prefix='')
Format and print out the iteration information.
source code
Variables [hide private]
  __package__ = 'minfx'

Imports: dot, inf, sqrt, inv, LinAlgError, match, sys, backtrack, nocedal_wright_interpol, nocedal_wright_wolfe, more_thuente, cholesky_mod, eigenvalue, gmw, gmw_old, se99


Function Details [hide private]

print_iter(k=None, xk=None, fk=None, print_prefix='')

source code 

Format and print out the iteration information.

Parameters:
  • k (int) - The iteration number.
  • xk (numpy rank-1 array) - The parameter array.
  • fk (float) - The function value.
  • print_prefix (str) - The string to add to the start of the print out.