Lably
Skip to content

Integer programming

Mathematical optimization problem restricted to integers

  • 10 min read
  • 7 chapters

Related on Lably

Through Mathematical optimization, Integer and Linear programming

Integer programming is NP-complete (the difficult part is showing the NP membership). In particular, the special case of 0–1 integer linear programming, in which unknowns are binary, and only the restrictions must be satisfied, is one of Karp's 21 NP-complete problems.

If some decision variables are not discrete, the problem is known as a mixed-integer programming problem.

Canonical and standard form for ILPs

Integer linear programs can be expressed either in canonical form or standard form (both as defined below), which are different from each other. An integer linear program in canonical form is expressed thus (note that it is the x vector which is to be decided):

maximizex∈ZncTxsubject toAx≤b,x≥0

and an ILP in standard form is expressed as

maximizex∈ZncTxsubject toAx+s=b,s≥0,x≥0,

where c∈Rn,b∈Rm are vectors and A∈Rm×n is a matrix. As with linear programs, ILPs not in standard form can be converted to standard form by eliminating inequalities, introducing slack variables (s) and replacing variables that are not sign-constrained with the difference of two sign-constrained variables.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Topics in mathematics