Binary Backtrack Search Using Reverse Communication

BACKTRACK_BINARY_RC is a FORTRAN77 library which carries out a backtrack search for a set of binary decisions, using reverse communication (RC).


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


BACKTRACK_BINARY_RC is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

BISECTION_RC, a FORTRAN77 library which seeks a solution to the equation F(X)=0 using bisection within a user-supplied change of sign interval [A,B]. The procedure is written using reverse communication (RC).

CG_RC, a FORTRAN77 library which implements the conjugate gradient method for solving a positive definite sparse linear system A*x=b, using reverse communication (RC).

SORT_RC, a FORTRAN77library which can sort a list of any kind of objects, using reverse communication (RC).

SUBSET, a FORTRAN77 library which enumerates, generates, randomizes, ranks and unranks combinatorial objects including combinations, compositions, Gray codes, index sets, partitions, permutations, polynomials, subsets, and Young tables. Backtracking routines are included to solve some combinatorial problems.

ZERO_RC, a FORTRAN77 library which seeks solutions of a scalar nonlinear equation f(x) = 0, or a system of nonlinear equations, using reverse communication (RC).

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN77 source codes.

Last revised on 31 December 2013.