• No results found

Solving LPs-Simplex Method

N/A
N/A
Protected

Academic year: 2021

Share "Solving LPs-Simplex Method"

Copied!
16
0
0

Loading.... (view fulltext now)

Full text

(1)

HighTech Industries imports electronic components that are used to assemble two different models of personal computers. One model is called the Deskpro, and the other model is called the Portable.

HighTechโ€™s management is currently interested in developing a weekly production schedule for both products. The Deskpro generates a profit contribution of $50 per unit, and the Portable generates a profit contribution of $40 per unit. For next weekโ€™s production, a maximum of 150 hours of assembly time can be made available. Each unit of the Deskpro requires 3 hours of assembly time, and each unit of the Portable requires 5 hours of assembly time. In addition, HighTech currently has only 20 Portable display components in inventory; thus, no more than 20 units of the Portable may be

assembled. Finally, only 300 square feet of warehouse space can be made available for new

production. Assembly of each Deskpro requires 8 square feet of warehouse space; similarly, each Portable requires 5 square feet. Formulate a mathematical model of HighTechโ€™s situation that can be used to maximize the companies profit.

Solving LPs-Simplex Method

Example:

Source: Anderson (2012)

(2)

Maximize Z = 50X

1

+ 40X

2

Subject to:

3X

1

+ 5X

2

โ‰ค 150

X

2

โ‰ค 20 8X

1

+ 5X

2

โ‰ค 300 X

1

โ‰ฅ 0

X

2

โ‰ฅ 0

X1 = Number of units of Deskpro X2 = Number of units of Portable

Solving LPs-Simplex Method

Note: The simplex method applied to this problem is for maximization LPs with โ€œโ‰คโ€ constraints. Similar method applies for minimization with few changes

(3)

Max Z = 50X

1

+ 40X

2

S.t

3X

1

+ 5X

2

+ S

1

= 150 X

2

+ S

2

= 20 8X

1

+ 5X

2

+ S

3

= 300 X

1,

X

2,

S

1,

S

2,

S

3

โ‰ฅ ๐ŸŽ

Solving LPs-Simplex Method

Step 1: Convert LP into standard form

(4)

Solving LPs โ€“ Simplex Method

Basic solution and basic feasible solutions

(5)

Solving LPs โ€“ Simplex Method

Picturing basic feasible and non feasible basic solutions

Points (1)-(5) are basic feasible solutions. Points (6)-(9) are basic solutions that are not feasible

(6)

Solving LPs โ€“ Simplex Method

Graphically, the simplex method

moves from one extreme point to the next, carefully improving upon the objective value on each move.

Picturing the simplex method graphically

Max Z = 50X1+40X2 s.t

3X1 + 5X2 โ‰ค 150 X2 โ‰ค 20 8X1 + 5X2โ‰ค 300

(7)

Solving LPs-Simplex Method

Step 2: Determine the initial Basic Feasible Solution

Basic solution:

A basic solution to an LP with n variables and m constraints is obtained by setting (n-m) of the variables to zero and solving the m linear constraint equations for the remaining m variables

For example if we set ๐‘ฅ2 = 0 and ๐‘ 1 = 0 the system of constraint equations becomes:

3๐‘ฅ1 = 150 1๐‘ 2 = 20

8๐‘ฅ1 +1๐‘ 3 = 300

A basic feasible solution (BFS):

This is a basic solution that also satisfies the nonnegativity conditions of the LP problem.

For example if we set ๐‘ฅ1 = 0 and ๐‘ฅ2 = 0 the system of constraint equations becomes:

1๐‘ 1 = 150 1๐‘ 2 = 20

+1๐‘ 3 = 300

Hint: Start by setting the actual decision variables to zero

Solving this yield ๐‘ 1=150, ๐‘ 2=20, ๐‘ 3=300, and Z =0

(8)

Solving LPs-Simplex Method

How can the current solution be improved?

Max Z = 50X1 + 40X2+ 0S1+0S2+0S3 S.t

3X1 + 5X2 + S1 = 150 X2 + S2 = 20 8X1 + 5X2 + S3 = 300 X1,X2,S1, S2, S3โ‰ฅ ๐ŸŽ

At S1 =150, S2 =20, S3 =300, Z = 0 . Is there a combination of the variables than will improve upon the current objective value?

When x1 =1, Z improves by 50, which is a gain. However, setting x1 =1 affect the values of S1, S2, and S3.

From the constraints, S1 = 147, S2 =20, S3 =292. This results in no loss to Z only because S1, S2, and S3 all have zero coefficient. Total gain is 50

When x2 =1, Z improves by 40, which is a gain. However, setting x2 =1 affect the values of S1, S2, and S3.

From the constraints, S1 = 145, S2 =19, S3 =295. This results in no loss to Z only because S1, S2, and S3 all have zero coefficient. Total gain is 40.

Between x1 and x2 which one would you select to improve on the objective Z?

(9)

Solving LPs-Simplex Method

Step 3: Form the initial simplex tableau

For our example we have:

(10)

Solving LPs-Simplex Method

Step 4: Determine Reduced Cost for each variable

Reduced cost is the amount by which an objective function coefficient would have to improve before it would be possible for the corresponding variable to assume a positive value in the optimal solution.

๐‘ง๐‘— represents the decrease in the value of the objective function that will result if one unit of the variable corresponding to the j th column of matrix A is brought into the basis Value of the obj.

function

How can the current solution be improved?

(11)

Solving LPs-Simplex Method

Step 4: Improve the solution

Determine which variable leaves and which enters the basic feasible solution

For maximization, pick a variable from the current non-basic with the largest ๐‘๐‘— โˆ’ ๐‘ง๐‘— to enter the BFS. In the case of a tie, select the variable to enter the basis that corresponds to the leftmost of the columns.

Thus, x1 enter the BFS

Minimum Ratio Test

Pick a variable from the current BFS with the smallest ๐‘๐‘–

๐‘Ž๐‘–๐‘— to leave the BFS. In case of a tie, select the variable that corresponds to the uppermost of the tied rows. Thus, S3 leaves the BFS

(12)

Solving LPs-Simplex Method

Step 4: Calculate the next improved tableau

Convert the column associated with the new basic variable into a unit column; in this way its value will be given by the right-hand- side value of the corresponding row

๐‘ฅ2 and ๐‘ 3 are non-basic, Thus, ๐‘ฅ2 = 0 and ๐‘ 3 = 0.

If The new basic feasible solution has:

๐‘ 1 = 75

2 , ๐‘ 2 = 20, and ๐‘ฅ1 = 75

2 . This yield a new objective value of:

0 โˆ— 75

2 + 0 โˆ— 20 + 50 โˆ— 75

2 = 1875

(13)

Solving LPs-Simplex Method

Step 4: Move towards a better solution

Calculate a new ๐‘๐‘— โˆ’ ๐‘ง๐‘—

Pick a variable from the current

non-basic with the largest ๐‘๐‘— โˆ’ ๐‘ง๐‘— to enter the BFS

Pick a variable from the current BFS with the smallest ๐‘๐‘–

๐‘Ž๐‘–๐‘— to leave the BFS

(14)

Optimality Criterion

When all of the entries in the net evaluation row (๐‘๐‘— โˆ’ ๐‘ง๐‘—) are zero or negative, stop. Current basic feasible solution is the optimal solution.

Solving LPs-Simplex Method

Convert column of new basic variable to unit column.

Elements of ๐‘๐‘— โˆ’ ๐‘ง๐‘— are all zero or negative

(15)

Solving LPs-Simplex Method

Interpreting the optimal solution.

The optimal solution has:

๐‘ฅ1 = 30, ๐‘ฅ2 = 12, ๐‘ 1 = 0, ๐‘ 2 = 8, ๐‘ 3= 0 And the value of the objective function is: $1980

If management wants to maximize the total profit contribution, HighTech should produce 30 units of the Deskpro and 12 units of the Portable. When ๐‘ 2 = 8, management should note that there will be eight unused Portable display units.

Also, because ๐‘ 1 = 0 and ๐‘ 3 = 0, no slack is associated with the assembly

time constraint and the warehouse capacity constraint; in other words, these constraints are both binding. Consequently, if it is possible to obtain additional assembly time and/or additional warehouse space, management should consider doing so.

(16)

Solving LPs-Simplex Method

Summary of the simplex method

References

Related documents

- As the enterprise matures and changes APMA Results 0.0 1.0 2.0 3.0 4.0 5.0 Architecture Scope and Authority Stakeholder Involvement and Support Architecture Development

Attachments are contained within a division of Company A called Division 1 Company A is assigned an NJUNS member code of COMPA.. The attachments would be

Secondly, we sought to analyse whether biotic (seagrass shoot density, leaf length and meadow cover) and abiotic (sediment com- position and particle size) structural elements of the

proprietary Toshiba toner that offers smoother reproduction of photos and halftones, and excellent colour fidelity and quality.. Additionally, all three devices boast a

Review In Basket reports to the right of your note and if you need more information from the patient's chart, click Edit in Encounter or Attest in Encounter to pend your note

calcium-dependent release of gliotransmitters that control synaptic transmission and plasticity has led to the establishment of a new concept in synaptic physiology, the

Wear appropriate personal protective equipment (such as hard hats, work gloves, safety shoes, and eye protection). Implement injury awareness training (such as dropped objects,

Buy A Coat of Many Colours: Occasional Essays (Routledge Revivals: Herbert Read and Selected Works) by Herbert Read (ISBN: 9781138913615) from Amazon's Book Store.. Harold Pinter,