Get reduced costs from simplex tableau











up vote
2
down vote

favorite












This is probably a dumb question... but I'm trying to find how to calculate the reduced cost for a particular variable based on the information in a simplex tableau after I've minimized a linear programming problem. I've been googling like crazy and, while I can find a million sites that explain how to interpret reduced costs and how they are useful, I can't find a single resource that tells me how to calculate them.



How can this be done?










share|cite|improve this question














bumped to the homepage by Community 12 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    up vote
    2
    down vote

    favorite












    This is probably a dumb question... but I'm trying to find how to calculate the reduced cost for a particular variable based on the information in a simplex tableau after I've minimized a linear programming problem. I've been googling like crazy and, while I can find a million sites that explain how to interpret reduced costs and how they are useful, I can't find a single resource that tells me how to calculate them.



    How can this be done?










    share|cite|improve this question














    bumped to the homepage by Community 12 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      This is probably a dumb question... but I'm trying to find how to calculate the reduced cost for a particular variable based on the information in a simplex tableau after I've minimized a linear programming problem. I've been googling like crazy and, while I can find a million sites that explain how to interpret reduced costs and how they are useful, I can't find a single resource that tells me how to calculate them.



      How can this be done?










      share|cite|improve this question













      This is probably a dumb question... but I'm trying to find how to calculate the reduced cost for a particular variable based on the information in a simplex tableau after I've minimized a linear programming problem. I've been googling like crazy and, while I can find a million sites that explain how to interpret reduced costs and how they are useful, I can't find a single resource that tells me how to calculate them.



      How can this be done?







      linear-programming






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Mar 21 '14 at 19:56









      John Chrysostom

      1111




      1111





      bumped to the homepage by Community 12 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 12 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          After you have minimized the LP, there are no more reduced costs, e.g. they are all zero. All that you have are the dual variables. You only do have nonzero reduced costs at a local minimum (=basis = edge of the feasible polyhedron).



          Generally, the reduced cost is:



          begin{equation}
          d_j = c_j - mu^top A_j
          end{equation}



          Cost of increasing a nonbasic variable $x_j$. Nonbasic row of the coefficientmatrix $A$: $A_j$.



          With dual variable $mu$:



          begin{equation}
          mu = c_B^top B^{-1}
          end{equation}



          $B$ is the Basis of coefficient matrix $A$, sometimes $B$ is called $A_B$.



          There is an example in Bertsimas - Introduction to Linear Optimization on p.84.






          share|cite|improve this answer























            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "69"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f721480%2fget-reduced-costs-from-simplex-tableau%23new-answer', 'question_page');
            }
            );

            Post as a guest
































            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            After you have minimized the LP, there are no more reduced costs, e.g. they are all zero. All that you have are the dual variables. You only do have nonzero reduced costs at a local minimum (=basis = edge of the feasible polyhedron).



            Generally, the reduced cost is:



            begin{equation}
            d_j = c_j - mu^top A_j
            end{equation}



            Cost of increasing a nonbasic variable $x_j$. Nonbasic row of the coefficientmatrix $A$: $A_j$.



            With dual variable $mu$:



            begin{equation}
            mu = c_B^top B^{-1}
            end{equation}



            $B$ is the Basis of coefficient matrix $A$, sometimes $B$ is called $A_B$.



            There is an example in Bertsimas - Introduction to Linear Optimization on p.84.






            share|cite|improve this answer



























              up vote
              0
              down vote













              After you have minimized the LP, there are no more reduced costs, e.g. they are all zero. All that you have are the dual variables. You only do have nonzero reduced costs at a local minimum (=basis = edge of the feasible polyhedron).



              Generally, the reduced cost is:



              begin{equation}
              d_j = c_j - mu^top A_j
              end{equation}



              Cost of increasing a nonbasic variable $x_j$. Nonbasic row of the coefficientmatrix $A$: $A_j$.



              With dual variable $mu$:



              begin{equation}
              mu = c_B^top B^{-1}
              end{equation}



              $B$ is the Basis of coefficient matrix $A$, sometimes $B$ is called $A_B$.



              There is an example in Bertsimas - Introduction to Linear Optimization on p.84.






              share|cite|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                After you have minimized the LP, there are no more reduced costs, e.g. they are all zero. All that you have are the dual variables. You only do have nonzero reduced costs at a local minimum (=basis = edge of the feasible polyhedron).



                Generally, the reduced cost is:



                begin{equation}
                d_j = c_j - mu^top A_j
                end{equation}



                Cost of increasing a nonbasic variable $x_j$. Nonbasic row of the coefficientmatrix $A$: $A_j$.



                With dual variable $mu$:



                begin{equation}
                mu = c_B^top B^{-1}
                end{equation}



                $B$ is the Basis of coefficient matrix $A$, sometimes $B$ is called $A_B$.



                There is an example in Bertsimas - Introduction to Linear Optimization on p.84.






                share|cite|improve this answer














                After you have minimized the LP, there are no more reduced costs, e.g. they are all zero. All that you have are the dual variables. You only do have nonzero reduced costs at a local minimum (=basis = edge of the feasible polyhedron).



                Generally, the reduced cost is:



                begin{equation}
                d_j = c_j - mu^top A_j
                end{equation}



                Cost of increasing a nonbasic variable $x_j$. Nonbasic row of the coefficientmatrix $A$: $A_j$.



                With dual variable $mu$:



                begin{equation}
                mu = c_B^top B^{-1}
                end{equation}



                $B$ is the Basis of coefficient matrix $A$, sometimes $B$ is called $A_B$.



                There is an example in Bertsimas - Introduction to Linear Optimization on p.84.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited May 14 '14 at 14:06

























                answered May 14 '14 at 13:54









                JaBe

                1707




                1707






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f721480%2fget-reduced-costs-from-simplex-tableau%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest




















































































                    Popular posts from this blog

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...