Google Answers Logo
View Question
 
Q: Duality and Linear Programming ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: Duality and Linear Programming
Category: Computers > Algorithms
Asked by: g8z-ga
List Price: $8.00
Posted: 14 Nov 2002 18:57 PST
Expires: 14 Dec 2002 18:57 PST
Question ID: 108046
Here's a problem from a college course on Algorithms. The topic under
study is Linear Programming and in particular, the area of Duality.

Formulate the dual of the linear program:
maximize: 18 x1 + 12.5 x2
subject to these constraints: 
x1 + x2 <= 20, x1 <= 12, x2 <= 16, x1 >= 0, x2 >= 0
Answer  
Subject: Re: Duality and Linear Programming
Answered By: mathtalk-ga on 14 Nov 2002 21:42 PST
Rated:5 out of 5 stars
 
Hi, g8z:

Thanks for the interesting question.

First the short answer (to this specific problem), and then some words
about how to find the answer (in the general case).

The "original" linear program here is of the form:

MAX: 18 x1 + 12.5 x2

s.t.    x1 +      x2 <= 20
        x1           <= 12
                  x2 <= 16

and     x1, x2 >= 0

Its dual linear program is then of the form:

MIN: 20 y1 + 12 y2 + 16 y3 

s.t.    y1 +    y2         >= 18
        y1         +    y3 >= 12.5

and     y1, y2, y3 >= 0

More generally, if you have a "maximization" problem in standard
linear program form, like this:

MAX:  b*x 

s.t. A x <= c

and x >= 0

where now x is a "vector" of nonnegative values and b*x represents a
dot product defining the objective function, then there is a
well-defined dual "minimization" problem:

MIN:  c*y

s.t. A' y >= 0

and y >= 0

where A' denotes the matrix transpose of A, and the new vector of
nonnegative unknowns y is the right size to make the expressions above
sensible.

That is, your original problem had three constraints in two unknowns,
so its dual winds up with two constraints in three unknowns.  Much
more can be said about the relationships between the solutions (or
infeasibility) of one problem and the other, but your question doesn't
really reach into that material.

Actually either problem may be considered the "original" and the other
its dual.  For a convenient Web site to consult these definitions,
see:

http://www.nist.gov/dads/HTML/linearprogrm.html

http://www.nist.gov/dads/HTML/duallinear.html

regards, mathtalk-ga
g8z-ga rated this answer:5 out of 5 stars and gave an additional tip of: $2.00
Perfect answer. This is exactly what I was looking for. Thanks, mathtalk. :)

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy