
Concept explainers
Explanation of Solution
Optimal solution:
Consider the following linear programing problem:
Subject to the constraints:
Use
Subject to the constraints:
Add slack variables s1,s2 and artificial variable a1 to get:
-(min w′ = -5x1+x2+a1)
Subject to the constraints:
Two Phase Method:
Phase I linear programming problem is,
Subject to the constraints:
The initial simplex table is given below:
w′ | x1 | x2 | a1 | s1 | s2 | rhs | basic variable | |
R0 | 1 | 0 | 0 | -1 | 0 | 0 | 0 | w′=0 |
R1 | 0 | 2 | 1 | 1 | 0 | 0 | 6 | a1=6 |
R2 | 0 | 1 | 1 | 0 | 1 | 0 | 4 | s1=4 |
R3 | 0 | 1 | 2 | 0 | 0 | 1 | 5 | s2=5 |
- Since, the basic variable a1 value in R0 is non-zero, therefore, do the transformations
w′ | x1 | x2 | a1 | s1 | s2 | rhs | basic variable | |
R0 | 1 | 0 | 0 | -1 | 0 | 0 | 0 | w′=0 |
R1 | 0 | 2 | 1 | 1 | 0 | 0 | 6 | a1=6 |
R2 | 0 | 1 | 1 | 0 | 1 | 0 | 4 | s1=4 |
R3 | 0 | 1 | 2 | 0 | 0 | 1 | 5 | s2=5 |
Since the highest positive entry 2 in R0 corresponds to x1, x1 enters the basis.
w′ | x1 | x2 | a1 | s1 | s2 | rhs | ratio | |
R0 | 1 | 2 | 1 | 0 | 0 | 0 | 6 | - |
R1 | 0 | 2 | 1 | 1 | 0 | 0 | 6 | 3* |
R2 | 0 | 1 | 1 | 0 | 1 | 0 | 4 | 4 |
R3 | 1 | 2 | 0 | 0 | 0 | 1 | 5 | 5 |
Apply the simplex method further:
w′ | x1 | x2 | a1 | s1 | s2 | rhs | basic variable | |
R0 | 1 | 0 | 0 | -1 | 0 | 0 | 0 | w′=0 |
R1 | 0 | 1 | 0 | 0 | 6 | x1 = 3 | ||
R2 | 0 | 0 | 1 | 0 | 1 | s1=1 | ||
R3 | 0 | 0 | 0 | 1 | 2 | s2=2 |
- Optimally reached for phase 1. Proceed to phase 2 with the actual objective function

Want to see the full answer?
Check out a sample textbook solution
Chapter 4 Solutions
Introduction to mathematical programming
- MATLAB. Awnser written questions (*) in the comments. Null, Rank, and most functions outside of rref() and disp() are not allowed! Solutions must be given manually! Elementary form means to reduce to RREF manually, without rref(). Please see other attached image for explanationarrow_forwarda. Given D = (1 2,6 4 )decode the following message: 32, 24, 42, 28, 24, 40, 50, 60, 132, 96, 12, 24 where the item in brackets is a 2*2 Matrix and the rows are separated by commasarrow_forwardMATLAB. Awnser written questions (*) in the comments. Null, Rank, and most functions outside of rref() and disp() are not allowed! Solutions must be given manually!arrow_forward
- Matlab Do question #3 from Section 1.10 Exercises of the textbook (theproblem about Mac and Cheese). For each part, be sure to explicitly give the appropriate system ofequations (as a comment) before entering the appropriate matrices into MATLAB. Show all of yournecessary MATLAB computations.arrow_forwardPLEASE ANSWER ALL PARTSarrow_forwardPLEASE ANSWER BOTH PARTSarrow_forward
- (1) (16 points) Let f(x, y) = 2x + 3y + In(xy) (a) (6 points) Calculate the gradient field Vf(x, y) and determine all points (x, y) where ▼f(x, y) = (0, 0). (b) (4 points) Calculate the second derivative matrix D²f(x,y).arrow_forwardLet f(x, y) = 2x + 3y+ In(xy)arrow_forward(3) (16 points) Let D = [0, π/2] × [0, 7/6]. Define T: DCR2 R3 by → T(0, 4) = (2 sin cos 0, 2 sin sin 0, 2 cos x). Let S be the surface parametrized by T. (a) (8 points) Determine the normal, call it n(p), for the tangent plane TS at an arbitrary point p = T(0, 4). (b) (4 points) Show that n(p) parallel to the position vector T(0, 4) determined by p? Do the two vectors have the same direction or opposite direction? Explain. (c) (4 points) At which points p, if any, is TS parallel to the xy-plane?arrow_forward
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageLinear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage Learning
