local_min_rc


local_min_rc, a Python code which seeks a local minimum of a scalar function of a scalar variable, without requiring derivatives, or assuming the function is differentiable, using reverse communication (RC), by Richard Brent.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

local_min_rc is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

backtrack_binary_rc, a Python code which carries out a backtrack search for a set of binary decisions, using reverse communication (RC).

bisection_rc, a python code which demonstrates the simple bisection method for solving a scalar nonlinear equation in a change of sign interval, using reverse communication (rc).

cg_rc, a python code which implements the conjugate gradient (cg) method for solving a positive definite sparse linear system a*x=b, using reverse communication (rc).

root_rc, a python code which seeks a solution of a scalar nonlinear equation f(x) = 0, or a system of nonlinear equations, using reverse communication (rc), by gaston gonnet.

roots_rc, a python code which seeks a solution of a system of nonlinear equations f(x) = 0, using reverse communication (rc), by gaston gonnet.

sort_rc, a python code which can sort a list of any kind of objects, using reverse communication (rc).

test_min, a python code which implements test problems for minimization of a scalar function of a scalar variable.

zero_rc, a Python code which seeks a solution of a scalar nonlinear equation f(x) = 0, using reverse communication (RC), by Richard Brent.

Author:

Original FORTRAN77 version by Richard Brent; Python version by John Burkardt.

Reference:

  1. Richard Brent,
    Algorithms for Minimization without Derivatives,
    Dover, 2002,
    ISBN: 0-486-41998-3,
    LC: QA402.5.B74.

Source Code:


Last revised on 26 January 2020.