ArticleslgStudy

science

Graver basis

Graver basis is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Graver basis rather than just read about it. In short: In applied mathematics, Graver bases enable iterative solutions of linear and various nonlinear integer programming problems in polynomial time. They were introduced by Jack E.

Key takeaways

  • Graver basis belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Graver basis to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Graver basis from memory before moving on to harder problems.

Reference excerpt

In applied mathematics, Graver bases enable iterative solutions of linear and various nonlinear integer programming problems in polynomial time. They were introduced by Jack E. Graver. Their connection to the theory of Gröbner bases was discussed by Bernd Sturmfels. The algorithmic theory of Graver bases and its application to integer programming is described by Shmuel Onn.

Formal definition The Graver basis of an m × n integer matrix A is the finite set G(A) of minimal elements in the set

{x∈ℤn:Ax=0, x≠0} under a well partial order on ℤn defined by x⊑y when xiyi≥0 and |xi|≤|yi| for all i. For example, the Graver basis of A=(1,2,1) 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 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:

min⁡{f(x) : x∈ℤn, Ax=b, l≤x≤u} . 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 G(A) of A, 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, is that of linear integer programming,

min⁡{wx : x∈ℤn, Ax=b, l≤x≤u} . 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 G(A) of A has the following property. For every feasible point x:

Either x is optimal (i.e., minimizes w⋅x given the constraints); Or there exists a vector g in G(A), such that x+g is feasible and w⋅(x+g)<w⋅x (i.e., x can be improved by adding to it an element of the Graver basis). Therefore, given the Graver basis G(A), the ILP can be solved in polynomial time using the following simple iterative algorithm. Assume first that some initial feasible point x is given. While possible, repeat the following iteration: find positive integer q and element g in G(A) 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 ), 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

min⁡{f(x) : x∈ℤn, Ax=b, l≤x≤u} can be solved using the Graver basis G(A) in polynomial time for several nonlinear objective functions including:

Separable-convex functions of the form f(x)=∑i=1nfi(xi); In particular the p-norm f(x)=‖x‖p 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,

min⁡{wx : x∈ℤ+l×m×n, ∑ixi,j,k=aj,k, ∑jxi,j,k=bi,k, ∑kxi,j,k=ci,j} , with aj,k, bi,k, ci,j nonnegative integers (whose maximum value implicitly bounds all variables from above). Denote by A the (lm + ln + mn) × (lmn) defining matrix of this system. Note that this matrix is generally not totally unimodular. Nonetheless, it was shown in that for every fixed l and m, its Graver basis G(A) 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. More generally, similar positive results hold for higher-dimensional table problems (introduced in ): for every fixed d and m1,…,md, (non)-linear optimization over m1×⋯×md×n 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.

Multi-commodity flows Consider the integer multi-commodity flow problem 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, 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 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.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Graver basis

Start with the simplest possible case. Write down what Graver basis claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Graver basis before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Graver basis ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Graver basis

In research
Graver basis appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Graver basis in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Graver basis is common in secondary-school and first-year university syllabi. It links to neighbouring topics Linear programming, so understanding it makes those chapters shorter.
In everyday life
Look for Graver basis outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Graver basis” →

How to study Graver basis in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Graver basis means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Graver basis out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Graver basis in simple terms?

In applied mathematics, Graver bases enable iterative solutions of linear and various nonlinear integer programming problems in polynomial time. They were introduced by Jack E.

Why does Graver basis matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Graver basis?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Graver basis.

Tags

  • Linear programming

Keep exploring