{"id":698,"date":"2022-01-07T06:01:17","date_gmt":"2022-01-07T06:01:17","guid":{"rendered":"https:\/\/www.jagannath.org\/blog\/?p=698"},"modified":"2022-01-07T06:09:13","modified_gmt":"2022-01-07T06:09:13","slug":"duality-in-linear-programming-problem","status":"publish","type":"post","link":"https:\/\/www.jagannath.org\/blog\/duality-in-linear-programming-problem\/","title":{"rendered":"DUALITY IN LINEAR PROGRAMMING PROBLEM"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"alignright size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.jagannath.org\/blog\/wp-content\/uploads\/2022\/01\/IMG-20210928-WA0005-849x1024.jpg\" alt=\"\" class=\"wp-image-705\" width=\"151\" height=\"182\" srcset=\"https:\/\/www.jagannath.org\/blog\/wp-content\/uploads\/2022\/01\/IMG-20210928-WA0005-849x1024.jpg 849w, https:\/\/www.jagannath.org\/blog\/wp-content\/uploads\/2022\/01\/IMG-20210928-WA0005-249x300.jpg 249w, https:\/\/www.jagannath.org\/blog\/wp-content\/uploads\/2022\/01\/IMG-20210928-WA0005-768x926.jpg 768w, https:\/\/www.jagannath.org\/blog\/wp-content\/uploads\/2022\/01\/IMG-20210928-WA0005.jpg 933w\" sizes=\"(max-width: 151px) 100vw, 151px\" \/><\/figure><\/div>\n\n\n\n<p><a href=\"http:\/\/jagannath.org\">Ms Pooja Bisht<\/a><\/p>\n\n\n\n<p><a href=\"http:\/\/jagannath.org\">Assistant Professor<\/a><\/p>\n\n\n\n<p><a href=\"http:\/\/jagannath.org\">Jagannath International Management School<\/a><\/p>\n\n\n\n<p>From the practical and the theoretical point of view, the concept of duality is one of the most imperative topics of <a href=\"http:\/\/jagannath.org\">linear programming<\/a>. The trivial idea behind the duality theory is that every linear program has an associated linear program called its dual such that a solution to one gives a solution to the other. There are a number of important relationships between the solution to the original problem (primal) and it\u2019s dual. These are useful in investigating the general properties of the optimal solution to a linear program and in testing whether a feasible solution is optimal.<\/p>\n\n\n\n<p>The significance of <a href=\"http:\/\/jagannath.org\">duality<\/a> is twofold. Firstly, complete understanding of the shadow-value translation of the ideal simplex multipliers can beextremely helpful in understanding the ramifications of a specific direct programming problem. Second, it isn&#8217;t unexpected imaginable to address the connected direct program with the shadow costs as the factors instead of, or related to, the first direct program, accordingly exploiting of some computational efficiencies.<\/p>\n\n\n\n<p>Formation of the dual problem:<\/p>\n\n\n\n<p>Consider the Linear Programing Problem which is maximized in nature,<\/p>\n\n\n\n<p>(PRIMAL)<\/p>\n\n\n\n<p>Max Z<sub>y<\/sub> = d<sub>1<\/sub>y<sub>1<\/sub> +d<sub>2<\/sub>y<sub>2<\/sub> +\u2026\u2026..+d<sub>n<\/sub>y<sub>n<\/sub><\/p>\n\n\n\n<p>s.t.<\/p>\n\n\n\n<p>a<sub>11<\/sub>y<sub>1<\/sub> +a<sub>12<\/sub>y<sub>2<\/sub> +\u2026\u2026..+a<sub>1n<\/sub>y<sub>n<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">&nbsp;b<sub>1<\/sub><\/p>\n\n\n\n<p>a<sub>21<\/sub>y<sub>1<\/sub> +a<sub>22<\/sub>y<sub>2<\/sub> +\u2026\u2026..+a<sub>2n<\/sub>y<sub>n<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">&nbsp;b<sub>2<\/sub><\/p>\n\n\n\n<p>.<\/p>\n\n\n\n<p>.<\/p>\n\n\n\n<p>a<sub>m1<\/sub>y<sub>1<\/sub> +a<sub>m2<\/sub>y<sub>2<\/sub> +\u2026\u2026..+a<sub>mn<\/sub>y<sub>n<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">b<sub>m<\/sub><\/p>\n\n\n\n<p>and y<sub>1<\/sub>, y<sub>2<\/sub>, y<sub>3<\/sub>,\u2026\u2026.y<sub>n<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"18\" height=\"25\" src=\"\">0 and d<sub>1<\/sub>, d<sub>2<\/sub>,\u2026\u2026d<sub>n<\/sub>, b<sub>1<\/sub>, b<sub>2<\/sub>,\u2026.., b<sub>m\u00ad<\/sub> are constants.<\/p>\n\n\n\n<p>Then its dual is<\/p>\n\n\n\n<p>(DUAL)<\/p>\n\n\n\n<p>Min Z<sub>w<\/sub> = b<sub>1<\/sub>w<sub>1<\/sub> +b<sub>2<\/sub>w<sub>2<\/sub> +\u2026\u2026..+b<sub>m<\/sub>w<sub>m<\/sub><\/p>\n\n\n\n<p>s.t.<\/p>\n\n\n\n<p>a<sub>11<\/sub>w<sub>1<\/sub> +a<sub>21<\/sub>w<sub>2<\/sub> +\u2026\u2026..+a<sub>m1 <\/sub>w<sub>m<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">d<sub>1<\/sub><\/p>\n\n\n\n<p>a<sub>12<\/sub>w<sub>1<\/sub> +a<sub>22<\/sub>w<sub>2<\/sub> +\u2026\u2026..+a<sub>m2 <\/sub>w<sub>m<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">d<sub>2<\/sub><\/p>\n\n\n\n<p>.<\/p>\n\n\n\n<p>.<\/p>\n\n\n\n<p>a<sub>1n<\/sub>w<sub>1<\/sub> +a<sub>2n<\/sub>w<sub>2<\/sub> +\u2026\u2026..+a<sub>mn<\/sub>w<sub>m<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">d<sub>n<\/sub><\/p>\n\n\n\n<p>and w<sub>1<\/sub>, w<sub>2<\/sub>, w<sub>3<\/sub>,\u2026\u2026.w<sub>m<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"18\" height=\"25\" src=\"\">0<\/p>\n\n\n\n<p>Some important Results and theorem<\/p>\n\n\n\n<p>1.If we take the dual of the dual then it is primal.<\/p>\n\n\n\n<p>2. If a particular constraint in the primal is perfect equality then the corresponding dual variable is unrestricted.<\/p>\n\n\n\n<p>3. If any variable is unrestricted in sign in a primal then the corresponding constraint of the duality is a perfect equality.<\/p>\n\n\n\n<p>Example 1<\/p>\n\n\n\n<p>Primal<\/p>\n\n\n\n<p>Max Z = x + y<\/p>\n\n\n\n<p>s.t. x-y <img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">&nbsp;20<\/p>\n\n\n\n<p>2x +3y <img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">&nbsp;4<\/p>\n\n\n\n<p>5x \u2013 2y <img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">&nbsp;2<\/p>\n\n\n\n<p>x, y <img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">0<\/p>\n\n\n\n<p>Solution<\/p>\n\n\n\n<p>Max Z = x + y<\/p>\n\n\n\n<p>s.t. x-y <img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">&nbsp;20&nbsp; \u2026\u2026\u2026\u2026w<sub>1<\/sub><\/p>\n\n\n\n<p>2x +3y <img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">&nbsp;4 \u2026\u2026\u2026\u2026\u2026w<sub>2<\/sub><\/p>\n\n\n\n<p>5x \u2013 2y <img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">2&nbsp; \u2026\u2026\u2026\u2026.w<sub>3<\/sub><\/p>\n\n\n\n<p>Dual<\/p>\n\n\n\n<p>Min Z<sub>w<\/sub> =20w<sub>1<\/sub> + 4w<sub>2<\/sub> + 2w<sub>3<\/sub><\/p>\n\n\n\n<p>S.t w<sub>1<\/sub> +2w<sub>2<\/sub> +5w<sub>3 <\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">&nbsp;1<\/p>\n\n\n\n<p>&nbsp; -w<sub>1<\/sub> + 3w<sub>2<\/sub> -2w<sub>3<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">1<\/p>\n\n\n\n<p>w<sub>1<\/sub>, w<sub>2<\/sub>, w<sub>3<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">0<\/p>\n\n\n\n<p>Example 2<\/p>\n\n\n\n<p>Primal is<\/p>\n\n\n\n<p>Min Z = x<sub>1<\/sub> +x<sub>2<\/sub> +x<sub>3<\/sub><\/p>\n\n\n\n<p>s.t. 2x<sub>1<\/sub> +3x<sub>2<\/sub> +5x<sub>3<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">2<\/p>\n\n\n\n<p>3x<sub>1<\/sub> +x<sub>2<\/sub> +7x<sub>3<\/sub> =3<\/p>\n\n\n\n<p>x<sub>1<\/sub> +4x<sub>2<\/sub> +6x<sub>3<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">&nbsp;5<\/p>\n\n\n\n<p>x<sub>1<\/sub>, x<sub>2<\/sub>, x<sub>3<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">0<\/p>\n\n\n\n<p>Dual is<\/p>\n\n\n\n<p>Max Z<sub>w<\/sub> = 2x<sub>1<\/sub> +3x<sub>2<\/sub> +5x<sub>3<\/sub><\/p>\n\n\n\n<p>s.t. 2w<sub>1<\/sub> +3w<sub>2<\/sub> +w<sub>3<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">1<\/p>\n\n\n\n<p>3w<sub>1<\/sub> +w<sub>2<\/sub> +4w<sub>3<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">1<\/p>\n\n\n\n<p>5w<sub>1<\/sub> +7w<sub>2<\/sub> +6w<sub>3<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">&nbsp;1<\/p>\n\n\n\n<p>w<sub>1<\/sub>, w<sub>3<\/sub><img decoding=\"async\" loading=\"lazy\" width=\"14\" height=\"25\" src=\"\">0, w<sub>2<\/sub> is unrestricted<\/p>\n\n\n\n<p>Rules for the Solutions<\/p>\n\n\n\n<p>When we obtain solution for one form of the LPP then depending on the nature of the solution for one we can conclude for the nature of the solution of the other as following:<\/p>\n\n\n\n<p>1. If we obtain <a href=\"http:\/\/jagannath.org\">bounded optimal solution<\/a> of Primal then the dual has bounded optimal solution.<\/p>\n\n\n\n<p>2. If we obtain an unbounded solution of primal (dual) then the dual (primal) has no feasible solution.<\/p>\n\n\n\n<p>3. If we obtain no feasible solution of Primal (dual) then the dual (primal) has either unbounded or no feasible solution.<\/p>\n\n\n\n<p>Some useful properties<\/p>\n\n\n\n<p>Even though we have studied how a dual of a primal can be evaluated, it becomes essential to understand the consequence of the same based on the type of solution we obtain.<\/p>\n\n\n\n<p>&nbsp;1. Any feasible solution to the dual problem sets a bound on the optimal objective function value in the primal problem.<\/p>\n\n\n\n<p>2. Understanding the dual problem leads to specialized method for some important classes of linear programming problems. Examples include the transportation simplex method, the Hungarian algorithm for the assignment problem, and the network simplex method.<\/p>\n\n\n\n<p>3. The dual can be helpful for<a href=\"http:\/\/jagannath.org\"> sensitivity analysis<\/a>. Changing the primal\u2019s right-hand side constraint or adding a new constraint to it can make the original primal optimal solution infeasible.<\/p>\n\n\n\n<p>4. The variables we get in a dual LPP gives the shadow prices for the primal LPP\u2019s constraints. For instance, suppose you have a profit maximization problem with a resource constraint say \u2018j\u2019. Then the valuey<sub>j<\/sub> of the corresponding dual variable in the optimal solution tells you that you get an increase of y<sub>j<\/sub> in the maximum profit for each unit increase in the amount of resource j.<\/p>\n\n\n\n<p>5. Sometimes it is easier to solve the dual of a LPP. A primal problem that has many constraints and few variables can be converted into a dual problem with few constraints and many variables.<\/p>\n\n\n\n<p><a href=\"http:\/\/jagannath.org\">#jims #jimsdelhi #managementcollegeindelhi #pgdmcollegesindelhi #mbacollegesindelhi #toppgdmCollegesindelhi #topbschoolsindelhi<\/a><\/p>\n\n\n\n<p>For more information visit: <a href=\"https:\/\/www.jagannath.org\/\">https:\/\/www.jagannath.org\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ms Pooja Bisht Assistant Professor Jagannath International Management School From the practical and the theoretical point of view, the concept of duality is one of the most imperative topics of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.jagannath.org\/blog\/wp-json\/wp\/v2\/posts\/698"}],"collection":[{"href":"https:\/\/www.jagannath.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jagannath.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jagannath.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jagannath.org\/blog\/wp-json\/wp\/v2\/comments?post=698"}],"version-history":[{"count":3,"href":"https:\/\/www.jagannath.org\/blog\/wp-json\/wp\/v2\/posts\/698\/revisions"}],"predecessor-version":[{"id":707,"href":"https:\/\/www.jagannath.org\/blog\/wp-json\/wp\/v2\/posts\/698\/revisions\/707"}],"wp:attachment":[{"href":"https:\/\/www.jagannath.org\/blog\/wp-json\/wp\/v2\/media?parent=698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jagannath.org\/blog\/wp-json\/wp\/v2\/categories?post=698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jagannath.org\/blog\/wp-json\/wp\/v2\/tags?post=698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}