# Criss-cross algorithm

{{#invoke:Hatnote|hatnote}} {{ safesubst:#invoke:Unsubst||$N=Use dmy dates |date=__DATE__ |$B= }}

In mathematical optimization, the **criss-cross algorithm** denotes a family of algorithms for linear programming. Variants of the criss-cross algorithm also solve more general problems with linear inequality constraints and nonlinear objective functions; there are criss-cross algorithms for linear-fractional programming problems,^{[1]}^{[2]} quadratic-programming problems, and linear complementarity problems.^{[3]}

Like the simplex algorithm of George B. Dantzig, the criss-cross algorithm is not a polynomial-time algorithm for linear programming. Both algorithms visit all 2^{D} corners of a (perturbed) cube in dimension *D*, the Klee–Minty cube (after Victor Klee and George J. Minty), in the worst case.^{[4]}^{[5]} However, when it is started at a random corner, the criss-cross algorithm on average visits only *D* additional corners.^{[6]}^{[7]}^{[8]} Thus, for the three-dimensional cube, the algorithm visits all 8 corners in the worst case and exactly 3 additional corners on average.

## Contents

## History

The criss-cross algorithm was published independently by Tamás Terlaky^{[9]} and by Zhe-Min Wang;^{[10]} related algorithms appeared in unpublished reports by other authors.^{[3]}

## Comparison with the simplex algorithm for linear optimization

{{#invoke:see also|seealso}}

In linear programming, the criss-cross algorithm pivots between a sequence of bases but differs from the simplex algorithm of George Dantzig. The simplex algorithm first finds a (primal-) feasible basis by solving a "*phase-one* problem"; in "phase two", the simplex algorithm pivots between a sequence of basic *feasible *solutions so that the objective function is non-decreasing with each pivot, terminating when with an optimal solution (also finally finding a "dual feasible" solution).^{[3]}^{[11]}

The criss-cross algorithm is simpler than the simplex algorithm, because the criss-cross algorithm only has one-phase. Its pivoting rules are similar to the least-index pivoting rule of Bland.^{[12]} Bland's rule uses only signs of coefficients rather than their (real-number) order when deciding eligible pivots. Bland's rule selects an entering variables by comparing values of reduced costs, using the real-number ordering of the eligible pivots.^{[12]}^{[13]} Unlike Bland's rule, the criss-cross algorithm is "purely combinatorial", selecting an entering variable and a leaving variable by considering only the signs of coefficients rather than their real-number ordering.^{[3]}^{[11]} The criss-cross algorithm has been applied to furnish constructive proofs of basic results in real linear algebra, such as the lemma of Farkas.^{[14]}

While most simplex variants are monotonic in the objective (strictly in the non-degenerate case), most variants of the criss-cross algorithm lack a monotone merit function which can be a disadvantage in practice.

## Description

Template:Expand section The criss-cross algorithm works on a standard pivot tableau (or on-the-fly calculated parts of a tableau, if implemented like the revised simplex method). In a general step, if the tableau is primal or dual infeasible, it selects one of the infeasible rows / columns as the pivot row / column using an index selection rule. An important property is that the selection is made on the union of the infeasible indices and the standard version of the algorithm does not distinguish column and row indices (that is, the column indices basic in the rows). If a row is selected then the algorithm uses the index selection rule to identify a position to a dual type pivot, while if a column is selected then it uses the index selection rule to find a row position and carries out a primal type pivot.

## Computational complexity: Worst and average cases

The time complexity of an algorithm counts the number of arithmetic operations sufficient for the algorithm to solve the problem. For example, Gaussian elimination requires on the order of* D*^{3} operations, and so it is said to have polynomial time-complexity, because its complexity is bounded by a cubic polynomial. There are examples of algorithms that do not have polynomial-time complexity. For example, a generalization of Gaussian elimination called Buchberger's algorithm has for its complexity an exponential function of the problem data (the degree of the polynomials and the number of variables of the multivariate polynomials). Because exponential functions eventually grow much faster than polynomial functions, an exponential complexity implies that an algorithm has slow performance on large problems.

Several algorithms for linear programming—Khachiyan's ellipsoidal algorithm, Karmarkar's projective algorithm, and central-path algorithms—have polynomial time-complexity (in the worst case and thus on average). The ellipsoidal and projective algorithms were published before the criss-cross algorithm.

However, like the simplex algorithm of Dantzig, the criss-cross algorithm is *not* a polynomial-time algorithm for linear programming. Terlaky's criss-cross algorithm visits all the 2^{D} corners of a (perturbed) cube in dimension *D*, according to a paper of Roos; Roos's paper modifies the Klee–Minty construction of a cube on which the simplex algorithm takes 2^{D} steps.^{[3]}^{[4]}^{[5]} Like the simplex algorithm, the criss-cross algorithm visits all 8 corners of the three-dimensional cube in the worst case.

When it is initialized at a random corner of the cube, the criss-cross algorithm visits only *D* additional corners, however, according to a 1994 paper by Fukuda and Namiki.^{[6]}^{[7]} Trivially, the simplex algorithm takes on average *D* steps for a cube.^{[8]}^{[15]} Like the simplex algorithm, the criss-cross algorithm visits exactly 3 additional corners of the three-dimensional cube on average.

## Variants

The criss-cross algorithm has been extended to solve more general problems than linear programming problems.

### Other optimization problems with linear constraints

There are variants of the criss-cross algorithm for linear programming, for quadratic programming, and for the linear-complementarity problem with "sufficient matrices";^{[3]}^{[6]}^{[16]}^{[17]}^{[18]}^{[19]} conversely, for linear complementarity problems, the criss-cross algorithm terminates finitely only if the matrix is a sufficient matrix.^{[18]}^{[19]} A sufficient matrix is a generalization both of a positive-definite matrix and of a P-matrix, whose principal minors are each positive.^{[18]}^{[19]}^{[20]} The criss-cross algorithm has been adapted also for linear-fractional programming.^{[1]}^{[2]}

### Vertex enumeration

The criss-cross algorithm was used in an algorithm for enumerating all the vertices of a polytope, which was published by David Avis and Komei Fukuda in 1992.^{[21]} Avis and Fukuda presented an algorithm which finds the *v* vertices of a polyhedron defined by a nondegenerate system of *n* linear inequalities in *D* dimensions (or, dually, the *v* facets of the convex hull of *n* points in *D* dimensions, where each facet contains exactly *D* given points) in time O(*nDv*) and O(*nD*) space.^{[22]}

### Oriented matroids

The criss-cross algorithm is often studied using the theory of oriented matroids (OMs), which is a combinatorial abstraction of linear-optimization theory.^{[17]}^{[23]} Indeed, Bland's pivoting rule was based on his previous papers on oriented-matroid theory. However, Bland's rule exhibits cycling on some oriented-matroid linear-programming problems.^{[17]} The first purely combinatorial algorithm for linear programming was devised by Michael J. Todd.^{[17]}^{[24]} Todd's algorithm was developed not only for linear-programming in the setting of oriented matroids, but also for quadratic-programming problems and linear-complementarity problems.^{[17]}^{[24]} Todd's algorithm is complicated even to state, unfortunately, and its finite-convergence proofs are somewhat complicated.^{[17]}

The criss-cross algorithm and its proof of finite termination can be simply stated and readily extend the setting of oriented matroids. The algorithm can be further simplified for *linear feasibility problems*, that is for linear systems with nonnegative variables; these problems can be formulated for oriented matroids.^{[14]} The criss-cross algorithm has been adapted for problems that are more complicated than linear programming: There are oriented-matroid variants also for the quadratic-programming problem and for the linear-complementarity problem.^{[3]}^{[16]}^{[17]}

## Summary

The criss-cross algorithm is a simply stated algorithm for linear programming. It was the second fully combinatorial algorithm for linear programming. The partially combinatorial simplex algorithm of Bland cycles on some (nonrealizable) oriented matroids. The first fully combinatorial algorithm was published by Todd, and it is also like the simplex algorithm in that it preserves feasibility after the first feasible basis is generated; however, Todd's rule is complicated. The criss-cross algorithm is not a simplex-like algorithm, because it need not maintain feasibility. The criss-cross algorithm does not have polynomial time-complexity, however.

Researchers have extended the criss-cross algorithm for many optimization-problems, including linear-fractional programming. The criss-cross algorithm can solve quadratic programming problems and linear complementarity problems, even in the setting of oriented matroids. Even when generalized, the criss-cross algorithm remains simply stated.

## See also

- Jack Edmonds (pioneer of combinatorial optimization and oriented-matroid theorist; doctoral advisor of Komei Fukuda)

## Notes

- ↑
^{1.0}^{1.1}Template:Harvtxt - ↑
^{2.0}^{2.1}{{#invoke:Citation/CS1|citation |CitationClass=journal }} - ↑
^{3.0}^{3.1}^{3.2}^{3.3}^{3.4}^{3.5}^{3.6}Template:Harvtxt - ↑
^{4.0}^{4.1}Template:Harvtxt - ↑
^{5.0}^{5.1}{{#invoke:citation/CS1|citation |CitationClass=book }} - ↑
^{6.0}^{6.1}^{6.2}Template:Harvtxt - ↑
^{7.0}^{7.1}Template:Harvtxt - ↑
^{8.0}^{8.1}The simplex algorithm takes on average*D*steps for a cube. Template:Harvtxt: {{#invoke:citation/CS1|citation |CitationClass=book }} - ↑ Template:Harvtxt and Template:Harvtxt
- ↑ Template:Harvtxt
- ↑
^{11.0}^{11.1}Template:Harvtxt - ↑
^{12.0}^{12.1}{{#invoke:Citation/CS1|citation |CitationClass=journal }} - ↑ Bland's rule is also related to an earlier least-index rule, which was proposed by Katta G. Murty for the linear complementarity problem, according to Template:Harvtxt.
- ↑
^{14.0}^{14.1}Template:Harvtxt - ↑ More generally, for the simplex algorithm, the expected number of steps is proportional to
*D*for linear-programming problems that are randomly drawn from the Euclidean unit sphere, as proved by Borgwardt and by Smale. - ↑
^{16.0}^{16.1}Template:Harvtxt - ↑
^{17.0}^{17.1}^{17.2}^{17.3}^{17.4}^{17.5}^{17.6}{{#invoke:citation/CS1|citation |CitationClass=book }} - ↑
^{18.0}^{18.1}^{18.2}{{#invoke:Citation/CS1|citation |CitationClass=journal }} - ↑
^{19.0}^{19.1}^{19.2}{{#invoke:Citation/CS1|citation |CitationClass=journal }} - ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ Template:Harvtxt
- ↑ The
*v*vertices in a simple arrangement of*n*hyperplanes in*D*dimensions can be found in O(*n*^{2}*Dv*) time and O(*nD*) space complexity. - ↑ The theory of oriented matroids was initiated by R. Tyrrell Rockafellar. Template:Harv:
{{#invoke:citation/CS1|citation |CitationClass=book }}

Rockafellar was influenced by the earlier studies of Albert W. Tucker and George J. Minty. Tucker and Minty had studied the sign patterns of the matrices arising through the pivoting operations of Dantzig's simplex algorithm.

- ↑
^{24.0}^{24.1}{{#invoke:Citation/CS1|citation |CitationClass=journal }}

## References

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

- {{#invoke:Citation/CS1|citation

|CitationClass=journal }}

## External links

- Komei Fukuda (ETH Zentrum, Zurich) with publications
- Tamás Terlaky (Lehigh University) with publications

Template:Mathematical programming Template:Optimization algorithms

- Pages using duplicate arguments in template calls
- Use dmy dates from December 2013
- Articles with invalid date parameter in template
- Pages with broken file links
- Linear programming
- Oriented matroids
- Combinatorial optimization
- Optimization algorithms and methods
- Combinatorial algorithms
- Geometric algorithms
- Exchange algorithms