Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7430927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:13:00+00:00 2026-05-29T09:13:00+00:00

I have just learned the simplex method for solving linear programs, and I’m trying

  • 0

I have just learned the simplex method for solving linear programs, and I’m trying to understand what it’s dual problem represents.

I understand the mechanics of solving a dual problem – I do not need help with that. What I can’t get (even after reading about it on Wikipedia) is the actual meanings of the y variables in the dual.

I would like to give an example all together with variable meanings in the primal problem, and what I figured out of the dual, and would ask anyone kind enough to explain the meanings in the dual:

Primal:

max z = 3*x1 +  5*x2

subject to:
          x1          <=  4
                2*x2  <= 12
        3*x1 +  2*x2  <= 18

        x1, x2 >= 0

In the primal problem, x1 and x2 are quantities of products A and B to be produced. 3 and 5 are their unit selling prices, respectively. Products are produced on 3 machines, M1-M3. To produce a first product, an hour of work on M1 and 3 hours on M3 are needed. To produce the second one, two hours of work are needed on both M2 and M3. Machines M1, M2, M3 can work for maximum of 4, 12 and 18 hours, respectively. Finally, I can not produce a negative quantity of any of the products.

Now, I set the dual problem:

min z = 4*y1 + 12*y2 + 18*y3

subject to:
          y1         +  3*y3 >= 3
                  y2 +  2*y3 >= 5

          y1, y2, y3 >= 0 

Now, the only thing I think I can figure out is that the constraints mean:
– for an hour of work on M1 and 3 hours on M3, I should get payed at least 3 money units
– for two hours of work on M2 and 2 hours on M3, I should get payed at least 5 money units

But, I just can’t wrap my mind around the meanings of y1 and y2 variables. When I finally do the minimization, the result in z is the same in the primal (although the primal in increasing the lower bound of the result while the dual is decreasing the upper bound), but what does the objective function of the dual problem consist of?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:13:00+00:00Added an answer on May 29, 2026 at 9:13 am

    The Objective function of your Dual is to minimize the Cost/Hour of the 3 machines (resources).

    So, the Dual’s objective function (4*y1 + 12*y2+ 18*y3) can be read as:

    Minimize 4*(cost/hour of Machine1) + 12*(cost/hour of M2) + 18*(cost/hr of M3)
    

    Since the Primal dealt with maximizing the profit of production, the Dual can be thought of as Minimizing the production costs for the firm.

    (It sometimes helps to think of the company “renting” the machines M1, M2 and M3.) If they are going to rent it, what is the most that they should pay [$/hour] for each machine and still manufacture x1 and x2 profitably?

    The meaning of your dual variables y1, y2, and y3 are the per hour owning/renting costs.

    The dual problem’s y variables are often referred to as “shadow prices” of the resources.

    Since you are looking for insight into understanding duals:

    1. One trick is to reduce the dimension of the dual. (Imagine there was only one Machine M1.) Now, formulate the dual and try to understand the objective function and the constraints.
    2. It helps to think in terms of “opportunity costs.” If the manufacturing firm had to rent machines (resources), what price/hour should it pay? Alternatively, if there were many other (profitable) products, at what cost/hour will the machines be allotted to X1 and X2 instead of to manufacture these other products.
    3. Note that not all duals can be “understood” easily. However, you can get a sense of many dual constraints by looking at the corresponding variable in the primal. Similarly, you can get insights into a dual variable by studying the corresponding primal constraint.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just learned (the hard way) that Java Component s can only have one
I have always written regexes like this <A HREF=([^]*) TARGET=_blank>([^<]*)</A> but I just learned
I have just learned the Bridge Pattern and its intent : Decouple an abstraction
Have just started using Google Chrome , and noticed in parts of our site,
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have just started playing with ASP.NET MVC and have stumbled over the following situation.
I have just inherited a server application, however it seems that the only copy
I have just installed C# for the first time, and at first glance it
I have just set up cruise control.net on our build server, and I am
I have just got a MacBook Pro and have been using it (+Fusion) to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.