Module base_classes
source code
Bases classes for the minfx optimisation library.
  This module contains the following base classes:
  
    - 
      Min:                The base class containing the main iterative 
      minimisation loop and a few other base class functions.
    
- 
      Line_search:        The base class containing the generic line search
      functions.
    
- 
      Trust_region:       The base class containing the generic 
      trust-region functions.
    
- 
      Conjugate_gradient: The base class containing the generic conjugate 
      gradient functions.
    
    |  | 
        
          | print_iter(k=None,
        xk=None,
        fk=None,
        print_prefix= '')Format and print out the iteration information.
 | source code |  | 
Imports:
  dot,
  sqrt,
  inv,
  LinAlgError,
  match,
  sys,
  backtrack,
  nocedal_wright_interpol,
  nocedal_wright_wolfe,
  more_thuente,
  cholesky_mod,
  eigenvalue,
  gmw,
  gmw_old,
  se99
| 
  | 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. |