Converting Linear Program to Standard Form & Finding Basic Solutions & Extreme Points, Assignments of Optimization Techniques in Engineering

How to convert a linear program to standard form and determine its basic solutions and extreme points. The process involves introducing new variables and constraints to transform the original inequalities into equalities, and then separating the basic and non-basic variables to check feasibility. The document also includes an example of finding basic feasible and infeasible solutions, as well as extreme points in the feasible region.

Typology: Assignments

Pre 2010

Uploaded on 08/26/2009

koofers-user-8sy
koofers-user-8sy 🇺🇸

10 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
[2]. Convert the linear program to STANDARD form.
1. First, look at the variable constraints: x1 2, x2, x3free
x1 2: let x0
1=x1+ 2. Then we have a new variable x0
1with
x0
10.
x2free: let x2=x0
2x00
2with x0
20, x00
20. Then we have new
variables x0
2, x00
2with x0
20, x00
20
x3free: let x3=x0
3x00
3with x0
30, x00
30. Then we have new
variables x0
3, x00
3with x0
30, x00
30
2. Second, change the general (first three) constraints with new variables;
2.a. 5x12x2+ 6x35 : 5(x0
12) 2(x0
2x00
2) + 6(x0
3x00
3)5
5x0
12x0
2+ 2x00
2+ 6x0
36x00
35 + 10
2.b. 3x1+ 4x29x3= 3: 3(x0
12) + 4(x0
2x00
2)9(x0
3x00
3)=3
3x0
1+ 4x0
24x00
29x0
3+ 9x00
3= 3 + 6
2.c. 7x1+ 3x2+ 5x39: 7(x0
12) + 3(x0
2x00
2) + 5(x0
3x00
3)9
7x0
1+ 3x0
23x00
2+ 5x0
35x00
39 + 14
3. We need to change the inequalities 2.a. and 2.c. to equalities by introduc-
ing new variables;
3.a. 5x0
12x0
2+ 2x00
2+ 6x0
36x00
35 + 10: Introduce a new variable s1
with s10 inducing 5x0
12x0
2+ 2x00
2+ 6x0
36x00
3s1= 5 + 10
3.b. 7x0
1+ 3x0
23x00
2+ 5x0
35x00
39 + 14: Introduce a new variable s2
with s20 inducing 7x0
1+ 3x0
23x00
2+ 5x0
35x00
3+s2= 9 + 14
4. Finally, we also need to change the object function zwith new variables,
thus we have
4.a. z=x15x27x3:z= (x0
12) 5(x0
2x00
2)7(x0
3x00
3)
z=x0
15x0
2+ 5x00
27x0
3+ 7x00
32.
4.b. let ˆz=z+ 2: Then we can have
minimize ˆz=x0
15x0
2+ 5x00
27x0
3+ 7x00
3.
Thus, from (1), (2.b.), (3.a.), (3.b.), (4.b.), we finally have
minimize ˆz=x
0
15x
0
2+ 5x
00
27x
0
3+ 7x
00
3
subject to 3x
0
1+ 4x
0
24x
00
29x
0
3+ 9x
00
3= 3 + 6
5x
0
12x
0
2+ 2x
00
2+ 6x
0
36x
00
3s1= 5 + 10
7x
0
1+ 3x
0
23x
00
2+ 5x
0
35x
00
3+s2= 9 + 14
x
0
10, x
0
20, x
00
20, x
0
30, x
00
30, s10, s20
[3.a.] Convert it to STANDARD form and determine all the basic
solutions
1
pf3
pf4

Partial preview of the text

Download Converting Linear Program to Standard Form & Finding Basic Solutions & Extreme Points and more Assignments Optimization Techniques in Engineering in PDF only on Docsity!

[2]. Convert the linear program to STANDARD form.

  1. First, look at the variable constraints: x 1 ≥ −2, x 2 , x 3 free
    • x 1 ≥ −2: let x

′ 1 =^ x^1 + 2.^ Then we have a new variable^ x

′ 1 with x

′ 1 ≥^ 0.

  • x 2 free: let x 2 = x ′ 2 −^ x

′′ 2 with^ x

′ 2 ≥^ 0,^ x

′′ 2 ≥^ 0. Then we have new variables x ′ 2 , x

′′ 2 with^ x

′ 2 ≥^ 0,^ x

′′ 2 ≥^0

  • x 3 free: let x 3 = x

′ 3 −^ x

′′ 3 with^ x

′ 3 ≥^ 0,^ x

′′ 3 ≥^ 0. Then we have new variables x

′ 3 , x

′′ 3 with^ x

′ 3 ≥^ 0,^ x

′′ 3 ≥^0

  1. Second, change the general (first three) constraints with new variables; 2.a. 5x 1 − 2 x 2 + 6x 3 ≥ 5 : 5(x ′ 1 −^ 2)^ −^ 2(x

′ 2 −^ x

′′ 2 ) + 6(x

′ 3 −^ x

′′ 3 )^ ≥^5 ⇒ 5 x ′ 1 −^2 x

′ 2 + 2x

′′ 2 + 6x

′ 3 −^6 x

′′ 3 ≥^ 5 + 10 2.b. 3x 1 + 4x 2 − 9 x 3 = 3: 3(x

′ 1 −^ 2) + 4(x

′ 2 −^ x

′′ 2 )^ −^ 9(x

′ 3 −^ x

′′ 3 ) = 3 ⇒ 3 x

′ 1 + 4x

′ 2 −^4 x

′′ 2 −^9 x

′ 3 + 9x

′′ 3 = 3 + 6 2.c. 7x 1 + 3x 2 + 5x 3 ≤ 9: 7(x ′ 1 −^ 2) + 3(x

′ 2 −^ x

′′ 2 ) + 5(x

′ 3 −^ x

′′ 3 )^ ≤^9 ⇒ 7 x ′ 1 + 3x

′ 2 −^3 x

′′ 2 + 5x

′ 3 −^5 x

′′ 3 ≤^ 9 + 14

  1. We need to change the inequalities 2.a. and 2.c. to equalities by introduc- ing new variables;

3.a. 5x

′ 1 −^2 x

′ 2 + 2x

′′ 2 + 6x

′ 3 −^6 x

′′ 3 ≥^ 5 + 10: Introduce a new variable^ s^1 with s 1 ≥ 0 inducing 5x

′ 1 −^2 x

′ 2 + 2x

′′ 2 + 6x

′ 3 −^6 x

′′ 3 −^ s^1 = 5 + 10 3.b. 7x ′ 1 + 3x

′ 2 −^3 x

′′ 2 + 5x

′ 3 −^5 x

′′ 3 ≤^ 9 + 14: Introduce a new variable^ s^2 with s 2 ≥ 0 inducing 7x ′ 1 + 3x

′ 2 −^3 x

′′ 2 + 5x

′ 3 −^5 x

′′ 3 +^ s^2 = 9 + 14

  1. Finally, we also need to change the object function z with new variables, thus we have 4.a. z = x 1 − 5 x 2 − 7 x 3 : z = (x ′ 1 −^ 2)^ −^ 5(x

′ 2 −^ x

′′ 2 )^ −^ 7(x

′ 3 −^ x

′′ 3 ) ⇒ z = x ′ 1 −^5 x

′ 2 + 5x

′′ 2 −^7 x

′ 3 + 7x

′′ 3 −^ 2. 4.b. let ˆz = z + 2: Then we can have minimize ˆz = x

′ 1 −^5 x

′ 2 + 5x

′′ 2 −^7 x

′ 3 + 7x

′′

Thus, from (1), (2.b.), (3.a.), (3.b.), (4.b.), we finally have

minimize ˆz = x

′ 1 −^5 x

′ 2 + 5x

′′ 2 −^7 x

′ 3 + 7x

′′ 3 subject to 3 x

′ 1 + 4x

′ 2 −^4 x

′′ 2 −^9 x

′ 3 + 9x

′′ 3 = 3 + 6 5 x

′ 1 −^2 x

′ 2 + 2x

′′ 2 + 6x

′ 3 −^6 x

′′ 3 −^ s^1 = 5 + 10 7 x

′ 1 + 3x

′ 2 −^3 x

′′ 2 + 5x

′ 3 −^5 x

′′ 3 +^ s^2 = 9 + 14 x

′ 1 ≥^0 , x

′ 2 ≥^0 , x

′′ 2 ≥^0 , x

′ 3 ≥^0 , x

′′ 3 ≥^0 , s^1 ≥^0 , s^2 ≥^0

[3.a.] Convert it to STANDARD form and determine all the basic solutions

  1. Standard form (Ax = b, x ≥ 0):

2 x 1 + x 2 + s 1 = 100 x 1 + x 2 + s 2 = 80 x 1 + s 3 = 40 x 1 , x 2 , s 1 , s 2 , s 3 ≥ 0

  1. Determine the basic solutions (feasible or infeasible)
    • Separate x = (x 1 , x 2 , s 1 , s 2 , s 3 )T^ into m basic variables xB (basis) and n − m non-basic variables xN (values are zero); m= row rank of the constraint matrix A, n=number of components of x.(In this case, m = 3, n = 5)
    • We have (n m) cases to check (here, there are 10 cases):
      • (1). xN = {x 1 = x 2 = 0}, xB = {s 1 , s 2 , s 3 } ⇒ x = (0, 0 , s 1 , s 2 , s 3 )T must satisfy Ax = b

s 1 = 100 s 2 = 80 s 3 = 40

Thus, x = (0, 0 , 100 , 80 , 40)T^ is a basic feasible solution.

  • (2). xN = {x 1 = s 1 = 0}, xB = {x 2 , s 2 , s 3 } ⇒ x = (0, x 2 , 0 , s 2 , s 3 )T must satisfy Ax = b

x 2 = 100 x 2 + s 2 = 80 s 3 = 40

Thus, x = (0, 100 , 0 , − 20 , 40)T^ is a basic infeasible solution.

  • (3). xN = {x 1 = s 2 = 0}, xB = {x 2 , s 1 , s 3 } ⇒ x = (0, x 2 , s 1 , 0 , s 3 )T must satisfy Ax = b

x 2 + s 1 = 100 x 2 = 80 s 3 = 40

Thus, x = (0, 80 , 20 , 0 , 40)T^ is a basic feasible solution.

  1. Choose two directions such as d = (1, 0)T^ , (2, 3)T^ , and prove that they are really directions of unboundedness;
  2. Prove that d = (1, 0)T^ is a direction of unboundedness; let x be any feasible point and γ ≥ 0. Then we need to prove that x + γd satisfies all the constraints. With x + γd = (x 1 + γd 1 , x 1 + γd 2 ) = (x 1 + γ, x 2 ),

−3(x 1 + γ) + 2(x 2 ) = (− 3 x 1 + 2x 2 ) − 3 γ ≤ 30 − 3 γ ≤ 30 −2(x 1 + γ) + x 2 = (− 2 x 1 + x 2 ) − 2 γ ≤ 12 − 3 γ ≤ 12

Thus, d = (1, 0)T^ is a direction of unboundedness.

  1. We can prove that d = (2, 3)T^ is a direction of unboundedness by the same way. (You should do this)
  2. And since one is not (non-zero) constant multiple of the other, these two vectors are linearly independent.

[5.c.] Using the standard form

  1. Standard form:

− 3 x 1 + 2x 2 + s 1 = 30 − 2 x 1 + x 2 + s 2 = 12 x 1 , x 2 , s 1 , s 2 ≥ 0

  1. From the standard form, we need to find a direction of unboundedness d = (d 1 , d 2 , d 3 , d 4 )T^ ; - Since the first two components of d are given in [5.b], we have d = (1, 0 , d 3 , d 4 )T^ , d = (2, 3 , d 3 , d 4 )T^. - Determine d 3 , d 4 using the standard form (Ad = 0). Then, we have d = (1, 0 , 3 , 2)T^ , d = (2, 3 , 0 , 1)T^. - Check if Ad = 0 and d ≥ 0.