How do you set up this lp problem? I'm not sure how to set up the constraints.

  • Thread starter Thread starter nueton5000
  • Start date Start date
  • Tags Tags
    Constraints Set
Click For Summary

Homework Help Overview

The discussion revolves around setting up a linear programming (LP) problem involving the production of three products (A1, A2, A3) from three ingredients (B1, B2, B3). Participants are exploring how to formulate the constraints based on given percentages and limits related to production and ingredient availability.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the need to maximize profit while considering constraints related to ingredient percentages and daily production limits. There is an attempt to clarify how to express these constraints linearly, particularly regarding the relationship between the amounts of ingredients used and the products produced.

Discussion Status

Some participants are questioning the formulation of constraints, particularly regarding the use of ratios and the need for linear expressions. There is an acknowledgment of the complexity introduced by additional variables to model the problem effectively.

Contextual Notes

Participants note the importance of adhering to linear programming principles, specifically avoiding nonlinear expressions in the constraints. There is a concern about potential issues with division by zero in certain scenarios.

nueton5000
Messages
2
Reaction score
0
A company produces three products A1, A2, A3 by mixing three ingredients B1, B2, B3. The selling price for A1, A2 and A3 is $13, 14 and 16 $/kg, respec- tively, and at most 75,80 and 90 kg of each can be sold daily. The cost of B1,B2,B3 is 7, 2 and 4 $/kg and the daily supply is at most 40, 95, and 65 kg, respectively. In addition, there are the following technological constraints:
A1 must contain exactly 10% of B1, at least 30% of B2, and at most 50% of B3;
A2 must contain exactly 30% of B2, at least 20% of B3, and at most 10% of B1.
A3 must contain exactly 15% of B3, at least 15% of B2, and at most 15% of B1;

*Determine the mixing scheme which will maximize the profit



The Attempt at a Solution


I think I need to maximize 13a1 + 14a2 + 16a - 7b1 -2b2 -4b3 but I am not sure how the constraints for the A(1-3) products would go.
 
Physics news on Phys.org
nueton5000 said:
A company produces three products A1, A2, A3 by mixing three ingredients B1, B2, B3. The selling price for A1, A2 and A3 is $13, 14 and 16 $/kg, respec- tively, and at most 75,80 and 90 kg of each can be sold daily. The cost of B1,B2,B3 is 7, 2 and 4 $/kg and the daily supply is at most 40, 95, and 65 kg, respectively. In addition, there are the following technological constraints:
A1 must contain exactly 10% of B1, at least 30% of B2, and at most 50% of B3;
A2 must contain exactly 30% of B2, at least 20% of B3, and at most 10% of B1.
A3 must contain exactly 15% of B3, at least 15% of B2, and at most 15% of B1;

*Determine the mixing scheme which will maximize the profit



The Attempt at a Solution


I think I need to maximize 13a1 + 14a2 + 16a - 7b1 -2b2 -4b3 but I am not sure how the constraints for the A(1-3) products would go.

Suppose we let the letters A1,A2 and A3 do double duty: let A1 = daily production of product A1 (in kg), etc. So, if we produce A1 kg of product A1, how many kg of B1 do we use (assuming the percentage figures are by weight)? It is a bit trickier for B2, since the amount of B2 in A1 is bounded, but not given as an exact percentage. So, the daily amount of B2 in A1 is another _variable_---call it B2A1 for example. What, if any, constraint links B2A1 and A1?

By introducing a bunch of extra variables, the problem becomes easy to model.

RGV
 
Thank you but I'm still a little confused. So would the constraint be b2a1/a1 >= .3 ?
 
nueton5000 said:
Thank you but I'm still a little confused. So would the constraint be b2a1/a1 >= .3 ?

Well, isn't that what one of the restrictions actually says? However, you cannot write it like that because you would be taking a *ratio* of variables, which is a NONLINEAR expression (and not only that, you would be dividing by zero if you happen to look at a policy with A1 = 0). You need to put the restriction in the form of a LINEAR constraint. There are standard ways of doing that---just look in your textbook or course notes.

RGV
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 38 ·
2
Replies
38
Views
6K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 3 ·
Replies
3
Views
5K
Replies
4
Views
3K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
6
Views
10K