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o
r
m
b
e
c
o
m
e
s
:
Minimize:
Subject to:
The primal
problem
deals with
physical
quantities.
With all
inputs
available in
limited
quantities,
and
assuming
the unit
prices of
all outputs
is known,
what
quantities
of outputs
to produce
so as to
maximize
total
revenue?
The dual
problem
deals with
economic
values.
With floor
guarantees
on all
output unit
prices, and
assuming
the
available
quantity of
all inputs is
known,
what input
unit pricing
scheme to
set so as
to
minimize
total
expenditur
e?
To each
variable in
the primal
space
correspond
s an
inequality
to satisfy in
the dual
space,
both
indexed by
output
type. To
each
inequality
to satisfy in
the primal
space
correspond
sa
variable in
the dual
space,
both
indexed by
input type.
Suppose that x = (x1,
is primal feasible and
that y = (y1, y2, ... , ym
feasible. Let (w1, w2,
denote the correspon
slack variables, and l
(z1, z2, ... , zn) denote
corresponding dual s
variables. Then x and
optimal for their respe
problems if and only
xjzj = 0, for j = 1,
and
wiyi = 0, for i = 1,
So if the i-th slack va
primal is not zero, the
variable of the dual is
zero. Likewise, if the
variable of the dual is
then the j-th variable
primal is equal to zer
[edit]Theory
[edit]Existenceo
optimal solutio
Geometrically, the lin
constraints define the
region, which is
a convex polyhedron
function is a convex f
which implies that ev
minimum is a global
similarly, a linear fun
a concave function, w
implies that every loc
maximum is a global
[edit]Optimalver
(and rays) of po
Otherwise, if a feasib
exists and if the (linea
function is bounded,
optimum value is alw
attained on the bound
optimal level-set, by
the maximum
principle for convex
functions (alternative
the minimum principl
for concave functions
that linear functions a
convex and concave.
some problems have
optimal solutions: Fo
the problem of finding
solution to a system o
inequalities is a linea
programming problem
the objective function
function (that is, the c
function taking the va
everywhere): For this
problem with the zero
for its objective-funct
are two distinct soluti
every convex combin
solutions is a solution
[edit]Algorithm
In practice, the
simplex algorithm is q
efficient and can be g
to find the global opti
certain precautions
against cycling are ta
simplex algorithm ha
proved to solve "rand
problems efficiently, i
cubic number of step
(Borgwardt, Todd), w
similar to its behavior
practical problems[5]
[edit]Ellipsoid
al
following Khac
This long standing iss
resolved by Leonid K
1979 with the introdu
the ellipsoid method,
worst-case polynomi
algorithm for linear
programming. To sol
problem which has n
and can be encoded
bits, this algorithm
uses O(n4L) pseudo-
operations on numbe
with O(L) digits.
Khahiyan's algorithm
convergence analysis
(real-number) predec
notably the iterative
methods developed b
Shor and the approxi
algorithms by Arkadi
and D. Yudin.
[edit]Interior
poi
methods, follow
Karmarkar
Khachiyan's algorithm
landmark importance
establishing the polyn
solvability of linear pr
The algorithm had litt
impact, as the simple
more efficient for all b
constructed families o
programs. However,
new lines of research
programming with the
development of interi
methods, which can
implemented as a pra
In contrast to the sim
algorithm, which finds
optimal solution by pr
along points on the b
a polytopal set, interi
methods move throug
interior of the feasible
In 1984, N. Karmarka
a new interior point p
method for linear
programming. Karma
algorithm not only im
Khachiyan's theoretic
case polynomial bou
(giving O(n3.5L)). Kar
claimed that his algor
exhibited dramatic pr
performance improve
the simplex method,
created great interes
point methods. Since
interior point methods
proposed and analyz
successful implemen
were based on affine
scaling variants of th
For both theoretical a
properties, barrier
function or path-follow
ds are the most comm
recently.
[edit]Other algor
General optimization
such as gradient des
also be used to solve
Though not specializ
these solvers may of
advantages, such as
advantage of problem
(e.g. if the problem
involves sparse matr
structured matrix like
Fourier transform). A
possible advantage is
solvers do not always
LP in canonical form.
[edit]Compariso
interior-point m
versus simplex
algorithms
The current opinion is
efficiency of good
implementations of s
based methods and i
methods are similar f
applications of linear
programming.[7] Howe
specific types of LP p
may be that one type
better than another (s
much better).
[edit]Open
prob
and recent wo
There are several op
problems in the theor
programming, the so
which would represen
fundamental breakthr
mathematics and pot
major advances in ou
solve large-scale line
programs.
Does LP admit a
polynomial-time a
Does LP admit a
polynomial algori
a strictly complem
solution?
Does LP admit a
algorithm in the r
(unit cost) model
computation?
This closely related s
problems has been c
by Stephen Smale as
the 18 greatest unsol
problems of the 21st
Smale's words, the th
of the problem "is the
unsolved problem of
programming theory.
algorithms exist to so
programming in weak
polynomial time, such
the ellipsoid
methods and interior
techniques, no algori
yet been found that a
strongly polynomial-t
performance in the n
constraints and the n
variables. The develo
such algorithms woul
great theoretical inter
perhaps allow practic
solving large LPs as
Although the Hirsch
conjecture was recen
disproved for higher d
it still leaves the follo
questions open.
[edit]Integer
unknowns
If the unknown variab
required to be intege
problem is called an
programming (IP) or
linear programming
problem. In contrast t
programming, which
solved efficiently in th
case, integer program
problems are in many
situations (those with
variables) NP-hard. 0
programming or bin
programming (BIP)
special case of intege
programming where
are required to be 0 o
than arbitrary integer
problem is also class
hard, and in fact the d
version was one of K
NP-complete problem
Advanced algorithms
integer linear program
cutting-plane me
branch and boun
branch and cut
branch and price
if the problem ha
extra structure, it
possible to apply
column generatio
Such integer-program
algorithms are discus
Padberg and in Beas
[edit]Integral Li
Programs
A linear program in re
variables is said to be
it has at least one op
solution which is inte
Likewise, a
polyhedron
to be integral if for a
feasible objective fun
the linear
program
optimum x * with inte
coordinates. As obse
Edmonds and Giles i
can equivalently say
polyhedron is integra
bounded feasible inte
objective function c, t
optimal value of the l
progam
is an integer.
in an integer line
program, describ
previous section,
are forcibly const
be integers, and
problem is NP-ha
general,
in an integral line
program, describ
section, variables
constrained to be
but rather one ha
somehow that th
continuous probl
has an integral o
(assuming c is in
this optimal value
found efficiently s
polynomial-size l
programs can be
polynomial time.
A bounded integral p
sometimes called a c
lattice polytope, parti
two dimensions.
[edit]Solvers an
scripting
(programming
languages
Free, opensource:
MINTO| here [11] Mixe
Optimizer (an integer
programming solver
branch and bound alg
has publicly available
code but not open so
Proprietary:
[edit]See also
Mathematical pro
Nonlinear progra
Convex program
Simplex algorithm
solve LP problem
Quadratic progra
superset of linea
programming
Leonid Kantorovi
the founders of li
programming
Shadow price
MPS file format
nl file format
MIP example, job
problem
Linear-fractional
programming (LF
Oriented matroid
[edit]Reference
1. ^ Vazirani (2001, p
3. ^ Padberg.
4. ^ Bland; Fukuda a
7. ^ Beasley, Todd.
in transportation ne
specialized implem
simplex algorithm c
and Thapa.
9. ^ See Fukuda and
10. ^ http://www.mose
11. ^ http://coral.ie.leh
wnload.html
12. ^ name="Linear pr
at CenterSpace
Software">http://ww
et/landing.php?id=
[edit]Further re
A reader may consid
beginning with Nering
Tucker, with the first
Dantzig and Thapa, o
Williams.
Dmitris Alevras a
W. Padberg, Line
Optimization and
Extensions: Prob
Extensions, Univ
Springer-Verlag,
(Problems from P
with solutions.)
A. Bachem and W
Kern. Linear Prog
Duality: An Introd
Oriented Matroid
Universitext. Spr
Verlag, 1992.
(Combinatorial)
J. E. Beasley,
editor. Advances
and Integer Prog
Oxford Science,
(Collection of sur
Mark de Berg, M
Kreveld, Mark Ov
and Otfried Schw
(2000). Computa
Geometry (2nd re
ed.). Springer-Ve
3-540-65620-0. C
Linear Programm
pp. 63–94. Descr
randomized half-
intersection algor
linear programmi
R. G. Bland, New
pivoting rules for
method, Math. O
(1977) 103–107.
Karl-Heinz Borgw
Simplex Algorithm
Probabilistic Ana
Algorithms and
Combinatorics, V
Springer-Verlag,
(Average behavio
random problems
Richard W. Cottle
Basic George B.
Stanford Busines
Stanford Univers
Stanford, Californ
(Selected papers
B. Dantzig)
George B. Dantz
Mukund N. Thap
1997. Linear prog
1: Introduction. S
Verlag.
George B. Dantz
Mukund N. Thap
2003. Linear Pro
2: Theory and Ex
Springer-Verlag.
(Comprehensive
e.g. pivoting and
point algorithms,
problems, decom
following Dantzig
Wolfe and Bende
introducing stoch
programming.)
Edmonds, J. and
"A min-max relat
submodular func
graphs," Ann. Dis
Math., v1, pp. 18
Fukuda, Komei; T
Tamás (1997). "C
methods: A fresh
pivot
algorithms". Math
Programming:
Series B(Amster
Holland
Publishing Co.) 7
from the 16th Inte
Symposium on
Mathematical Pro
held in Lausanne
pp. 369—395. do
i:10.1016/S0025-
5610(97)00062-2
R1464775.
Michael R. Garey
S.
Johnson (1979).
and Intractability:
the Theory of NP
Completeness. W
Freeman. ISBN 0
1045-5. A6: MP1
PROGRAMMING
(computer scienc
complexity theory
Bernd Gärtner, J
Matoušek (2006)
ding and Using L
Programming, Be
Springer. ISBN 3
30697-8 (elemen
introduction for
mathematicians a
computer scientis
Kattta G. Murty, L
Programming, W
(comprehensive
classical approac
Evar D. Nering a
W. Tucker, 1993
Programs and Re
Problems, Acade
(elementary)
M. Padberg, Line
Optimization and
Extensions, Seco
Springer-Verlag,
(carefully written
primal and dual s
algorithms and p
algorithms, with a
introduction to in
programming ---
the traveling sale
problem for Odys
Christos H.
Papadimitriou an
Steiglitz, Combin
Optimization: Alg
and Complexity,
republication with
preface, Dover. (
science)
Cornelis Roos, T
Terlaky, Jean-Ph
Vial, Interior Poin
for Linear Optimi
Second Edition, S
Verlag, 2006. (G
level)
Alexander Schrijv
(2003). Combina
optimization: poly
efficiency. Spring
Alexander Schrijv
of Linear and Inte
Programming. Jo
sons, 1998, ISBN
98232-6 (mathem
Michael J. Todd
2002). "The man
linear
programming". M
l
Programming 91
survey, from the
International Sym
Mathematical
Programming.)
Robert J. Vander
Programming: Fo
and Extensions,
International Ser
Operations Rese
Management Sci
114, Springer Ve
2008. ISBN 978-
74387-5. (An on-
edition was forme
available. Vande
still contains exte
materials.)
Vazirani, Vijay
V. (2001). Appro
Algorithms. Sprin
Verlag. ISBN 3-5
8. (Computer sci
H. P. Williams, M
Building in Mathe
Programming, Th
Edition, 1990. (M
Stephen J. Wrigh
1997, Primal-Dua
Point Methods, S
(Graduate level)
Yinyu Ye, 1997,
Point Algorithms:
and Analysis, Wi
(Advanced gradu
Ziegler, Günter M
1–3 and 6–7 in L
Polytopes, Spring
New York, 1994.
[edit]External l
Guidance on For
problems