In
applied mathematics
Applied mathematics is the application of mathematical methods by different fields such as physics, engineering, medicine, biology, finance, business, computer science, and industry. Thus, applied mathematics is a combination of mathematical s ...
, Graver bases enable iterative solutions of linear and various nonlinear
integer programming
An integer programming problem is a mathematical optimization or Constraint satisfaction problem, feasibility program in which some or all of the variables are restricted to be integers. In many settings the term refers to integer linear programmin ...
problems in
polynomial time
In computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations performed by ...
. They were introduced by
Jack E. Graver.
[Jack E. Graver: On the foundations of linear and linear integer programming, Mathematical Programming 9:207–226, 1975] Their connection to the theory of
Gröbner bases was discussed by
Bernd Sturmfels
Bernd Sturmfels (born March 28, 1962 in Kassel, West Germany) is a Professor of Mathematics and Computer Science at the University of California, Berkeley and is a director of the Max Planck Institute for Mathematics in the Sciences in Leipzig sin ...
.
Bernd Sturmfels
Bernd Sturmfels (born March 28, 1962 in Kassel, West Germany) is a Professor of Mathematics and Computer Science at the University of California, Berkeley and is a director of the Max Planck Institute for Mathematics in the Sciences in Leipzig sin ...
, ''Gröbner Bases and Convex Polytopes'', American Mathematical Society
The American Mathematical Society (AMS) is an association of professional mathematicians dedicated to the interests of mathematical research and scholarship, and serves the national and international community through its publications, meetings, ...
, xii+162 pp., 1996 The algorithmic theory of Graver bases and its application to integer programming is described by
Shmuel Onn
Shmuel Onn (Hebrew: שמואל און; born 1960) is a mathematician, Professor of Operations Research and Dresner Chair at the Technion - Israel Institute of Technology. He is known for his contributions to integer programming and nonlinear co ...
.
[Shmuel onn](_blank)
''Nonlinear Discrete Optimization''
European Mathematical Society
The European Mathematical Society (EMS) is a European organization dedicated to the development of mathematics in Europe. Its members are different mathematical societies in Europe, academic institutions and individual mathematicians. The current ...
, x+137 pp., 2010[Shmuel Onn]
Linear and nonlinear integer optimization
Online Video Lecture Series, Mathematical Sciences Research Institute
The Simons Laufer Mathematical Sciences Institute (SLMath), formerly the Mathematical Sciences Research Institute (MSRI), is an independent nonprofit mathematical research institution on the University of California campus in Berkeley, Califo ...
, Berkeley, 2010
Formal definition
The Graver basis of an ''m'' × ''n'' integer matrix
is the finite set
of minimal elements in the set
:
under a well partial order on
defined by
when
and
for all i. For example, the Graver basis of
consists of the vectors (2,−1,0), (0,−1,2), (1,0,−1), (1,−1,1) and their negations.
Solving integer programming using Graver bases
Integer programming
An integer programming problem is a mathematical optimization or Constraint satisfaction problem, feasibility program in which some or all of the variables are restricted to be integers. In many settings the term refers to integer linear programmin ...
is the problem of optimizing a linear or nonlinear objective function over the set of integer points satisfying a system of linear inequalities. Formally, it can be written in standard form as follows:
:
It is one of the most fundamental discrete optimization problems and has a very broad modeling power and numerous applications in a variety of areas, but is typically very hard computationally as noted below. However, given the Graver basis
of
, the problem with linear and various nonlinear objective functions can be solved in polynomial time as explained next.
Linear integer programming
The most studied case, treated thoroughly in,
Alexander Schrijver
Alexander (Lex) Schrijver (born 4 May 1948 in Amsterdam) is a Dutch mathematician and computer scientist, a professor of discrete mathematics and optimization at the University of Amsterdam and a fellow at the Centrum Wiskunde & Informatica in Ams ...
: ''Theory of Linear and Integer Programming'', Wiley, xii+471 pp., 1986 is that of
linear integer programming,
:
It may be assumed that all variables are bounded from below and above: such bounds either appear naturally in the application at hand, or can be enforced without losing any optimal solutions. But, even with linear objective functions the problem is NP-hard and hence presumably cannot be solved in polynomial time.
However, the Graver basis
of
has the following property. For every feasible point ''x'':
* Either ''x'' is optimal (i.e., minimizes
given the constraints);
* Or there exists a vector ''g'' in
, such that ''x''+''g'' is feasible and
(i.e., ''x'' can be improved by adding to it an element of the Graver basis).
Therefore, given the Graver basis
, the ILP ''can'' be solved in polynomial time using the following simple iterative algorithm.
[Raymond Hemmecke, Shmuel Onn, Robert Weismantel: A polynomial oracle-time
algorithm for convex integer minimization, Mathematical Programming
126:97–117, 2011] Assume first that some initial feasible point ''x'' is given. While possible, repeat the following iteration: find positive integer ''q'' and element ''g'' in
such that ''x'' + ''qg'' does not violate the bounds and gives best possible improvement; update ''x'' := ''x'' + ''qg'' and proceed to the next iteration. The last point ''x'' is optimal and the number of iterations is polynomial.
To find an initial feasible point, a suitable auxiliary program can be set up and solved in a similar fashion.
Nonlinear integer programming
Turning to the case of general objective functions ''f'', if the variables are unbounded then the problem may in fact be uncomputable: it follows from the solution of
Hilbert's 10th problem (see
[Yuri V. Matiyasevich: ''Hilbert's Tenth Problem'', MIT Press, xxiv+264 pp., 1993]), that there exists no algorithm which, given an integer polynomial ''f'' of degree 8 in 58 variables, decides if the minimum value of f over all 58-dimensional integer vectors is 0. However, when the variables are bounded, the problem
:
can be solved using the Graver basis
in polynomial time for
several nonlinear objective functions including:
* Separable-convex functions of the form
;
* In particular the p-norm
for every positive integer ''p'';
* Composite-concave functions ''f''(''x'') = ''g''(''Wx''), where ''W'' is a ''d'' × ''n'' integer matrix with ''d'' fixed, and where ''g'' is a ''d''-variate concave function;
* Certain (in)-definite quadratic and higher degree polynomial functions.
Some applications
Multi-dimensional tables
Consider the following optimization problem over three-dimensional tables with prescribed line sums,
:
with
,
,
nonnegative integers (whose maximum value implicitly bounds all variables from above). Denote by
the (''lm'' + ''ln'' + ''mn'') × (''lmn'') defining matrix of this system. Note that this matrix is generally ''not''
totally unimodular
In mathematics, a unimodular matrix ''M'' is a square matrix, square integer matrix having determinant +1 or −1. Equivalently, it is an integer matrix that is invertible matrix, invertible over the integers: there is an integer matrix ''N'' th ...
. Nonetheless, it was shown in
[ Jesús A. De Loera, Raymond Hemmecke, Shmuel Onn, Robert Weismantel: ''N''-fold integer programming, Discrete
Optimization, 5:231–241, 2008] that for every fixed ''l'' and ''m'', its Graver basis
can be computed in time which is polynomial in ''n''. The results mentioned above allow then to solve this problem in polynomial time for fixed ''l'' and ''m'' and variable ''n''. Note that if only one side ''l'' of the table is fixed (even with ''l'' = 3) while both ''m'' and ''n'' are variable, then the problem is NP hard, as shown in.
[ Jesús A. De Loera, Shmuel Onn: The complexity of
three-way statistical tables, SIAM Journal on Computing, 33:819–836, 2004] More generally, similar positive results hold for higher-dimensional table problems (introduced in
[Theodore S. Motzkin: The multi-index transportation
problem, Bulletin of the American Mathematical Society 58:494, 1952]): for every fixed ''d'' and
, (non)-linear optimization over
tables with variable n and prescribed margins can be done in polynomial time. This has further applications to entry security problems and privacy in
statistical databases
Statistics (from German language, German: ''wikt:Statistik#German, Statistik'', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of ...
.
Multi-commodity flows
Consider the ''integer''
multi-commodity flow problem The multi-commodity flow problem is a network flow problem with multiple commodities (flow demands) between different source and sink nodes.
Definition
Given a flow network \,G(V,E), where edge (u,v) \in E has capacity \,c(u,v). There are \,k comm ...
of routing ''k'' types of integer commodities from ''m'' suppliers to ''n'' consumers subject to supply, consumption, and capacity constraints, so as to minimize the sum of linear or congestion-dependent convex costs on the arcs. Then for every fixed ''k'' and ''m'', the Graver basis of the defining system can be computed and the resulting separable-convex objective function
minimized in time which is polynomial in the variable number ''n'' of consumers and in the rest of the data.
Other applications
The many applications of the algorithmic theory of Graver bases also include:
* stochastic integer programming,
* ''N''-fold integer programming,
* ''N''-fold 4-block decomposable integer programming,
[Raymond Hemmecke, Matthias Köppe, Robert Weismantel: A polynomial-time algorithm for optimizing over ''N''-fold 4-block decomposable integer programs, IPCO 14, 2010]
* clustering,
* disclosure control in statistical databases,
* and fair allocation of indivisible objects.
In some of these applications the relevant Graver basis ''cannot'' be computed in polynomial time, but can be accessed in an indirect way that allows to use it in polynomial time.
Universality and parametrization
It was shown in
[Jesus A. De Loera, Shmuel Onn: All
linear and integer programs are slim 3-way transportation programs, SIAM Journal on Optimization, 17:806–821, 2006] that every (bounded) integer programming problem is precisely equivalent to the 3 × ''m'' × ''n'' table problem discussed above for some ''m'' and ''n'' and some line sums. Thus, such 3 × ''m'' × ''n'' table problems are universal for integer programming. Moreover, for each fixed ''m'', the resulting class of integer programs can be solved in polynomial time by the iterative Graver basis method described above. So the table width ''m'' provides a parametrization of all integer programming problems.
Hierarchy of approximations for integer programming
Denote by
the Graver basis of the matrix
defining the universal 3 × ''m'' × ''n'' table problem discussed above. The elements of
are 3 × ''m'' × ''n'' tables with all line sums equal to 0. The ''type'' of such a table is the number of its nonzero 3 × ''m'' ''layers''. It turns out that there is a finite ''Graver complexity function'' ''g''(''m'') such that for any ''n'', the type of any element of the Graver basis
is at most ''g''(''m''). It follows that the Graver basis
is the union of the
suitably embedded copies of the Graver basis
. To approximately solve in practice an arbitrary integer programming problem, proceed as follows. First embed it in a suitable 3 × ''m'' × ''n'' table problem as enabled by the universality noted above. Now apply the following hierarchy of approximations of
. At level ''k'' of this hierarchy, let
be the subset of
consisting only of those elements of type at most ''k''; use this approximation
in the iterative algorithm as long as possible to obtain as good as possible feasible point for the integer programming problem embedded in the 3 × ''m'' × ''n'' table problem; if the objective function value of this point is satisfactory (say, as compared to the value of the
linear programming relaxation
In mathematics, the relaxation of a (mixed) integer linear program is the problem that arises by removing the integrality constraint of each variable.
For example, in a 0–1 integer program, all constraints are of the form
:x_i\in\.
The relax ...
), then use this point; otherwise increment ''k'' and proceed to the next level of the hierarchy. It can be shown
that for any fixed level ''k'', the approximation
of the Graver basis has polynomial cardinality
and can be computed in that much time.
Fixed parameter tractability: from polynomial to cubic time complexity
The time complexity of solving some of the applications discussed above, such as multi-dimensional table problems, multicommodity flow problems, and ''N''-fold integer programming problems, is dominated by the cardinality of the relevant Graver basis, which is a polynomial
with typically large degree ''g'' which
is a suitable Graver complexity of the system. In
[Raymond Hemmecke, Shmuel Onn, Lyubov Romanchuk: ''N''-fold integer programming in cubic time, Mathematical Programming, 137:325–341, 2013] a much faster algorithm is presented, which finds at each iteration the best improvement ''x'' + ''qg'' with ''q'' positive integer and ''g'' element in
''without explicitly constructing the Graver basis'', in cubic time
regardless of the system.
In the terminology of
parameterized complexity
In computer science, parameterized complexity is a branch of computational complexity theory that focuses on classifying computational problems according to their inherent difficulty with respect to ''multiple'' parameters of the input or output. T ...
, this implies that all these problems suitably parameterized, and in particular ''l'' × ''m'' × ''n'' table problems parametrized by ''l'' and ''m'', are fixed parameter tractable.
See also
*
Gordan's lemma Gordan's lemma is a lemma in convex geometry and algebraic geometry. It can be stated in several ways.
* Let A be a matrix of integers. Let M be the set of non-negative integer solutions of A \cdot x = 0. Then there exists a finite subset of vector ...
- another tool related to zero sets of integer matrices.
References
{{reflist
Linear programming