Violations and Remedies in Linear Programming, Slides of Operational Research

Various violations that can occur in linear programming problems and provides remedies for them. These violations include non-standard formulations, minimization problems, negative right-hand sides, and constraints with the equality or inequality signs. Examples are provided to illustrate these concepts.

Typology: Slides

2012/2013

Uploaded on 01/09/2013

aarif
aarif 🇮🇳

4.3

(43)

56 documents

1 / 34

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1 No-Standard Formulations
What do you do if your problem formulation
does not have the Standard Form?
This is an important issue because the simplex
procedure we described relies very much on
the standard form, eg
the RHS coefficients are non-negative
availability of m slack variables
opt=max
and so on.
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22

Partial preview of the text

Download Violations and Remedies in Linear Programming and more Slides Operational Research in PDF only on Docsity!

1 No-Standard Formulations

What do you do if your problem formulation does not have the Standard Form?

This is an important issue because the simplex procedure we described relies very much on the standard form, eg

  • the RHS coefficients are non-negative
  • availability of m slack variables
  • opt=max
  • and so on.

2 Standard Form

  • opt=max
  • ~ + ≤
  • bi ≥ 0 , for all i. a^11 x^1 +^ a^12 x^2 +^ ...^ +^ a^1 n^ xn^ ≤^ b^1 a 21 x 1 + a 22 x 2 + ... + a 2 n x (^) nb 2 ..... ..... ... .... ..... ..... ... .... a (^) m 1 x 1 + am 2 x 2 + ... + amn xnbm

x (^) j ≥ 0 , j = 1,..., n

max x Z = c (^) j x (^) j j = 1

n

4 Remedies

1. Multiply the coefficients of the objective function by -1 and maximize the new objective function. 2. Change the simplex algorithm a bit.  Remark : Australia is a free country so in principle you can use either of these two approaches. In his notes, Moshe prefers the second approach. I prefer the first.

5

5.6.1 Example

min

x

Z = x 1 − x 2 − 2 x 3

x x x

x x x

x x x

x x x

1 2 3 1 2 3 1 2 3 1 2 3

7

max ' x

Z = − x (^) 1 + x (^) 2 + 2 x 3

x x x x x x x x x x x x

1 2 3 1 2 3 1 2 3 1 2 3

2 10 2 4 2 40 2 3 30 0

  • − ≤ − + + ≤
    • ≤ , , ≥

8

After setting the simplex tableau and conducting two pivot operations we obtain the above final tableau. The optimal solution is thus: x=(10/3,0,70/3,30,0,0) The optimal value of the modified objective function is: Z’ = 130/ Thus the optimal value of the original objective function is equal to Z = - Z’ = - 130/3.

BV Eq. # (^) x 1 x 2 x 3 x 4 x 5 x 6 RHS x 4 1 0 4 0 1 1/2^0 x 3 2 0 7/3^1 0 1/3^ 1/3^ 70/ x 1 3 1 1/3^0 0 - 1/6 1/3^ 10/ Z' Z' 0 10/3 0 0 5/6 1/3 130/

10

The Second Approach

Modification in the Simplex Algorithm for opt=min:

1. Optimality Test :

  • Stop if all the reduced costs are nonpositive.

2. Greedy Rule :

  • Select the variable with the most positive reduced cost.

11

Example

(Continued)

min

x

Z = x 1 − x 2 − 2 x 3

x x x

x x x

x x x

x x x

1 2 3 1 2 3 1 2 3 1 2 3

(^13) Step 4 (Variable out):

The (usual) Ratio Test identifies x 5 as the leaving basic variable. Step 5 (Pivoting): As usual New tableau: BV Eq. # (^) x 1 x 2 x 3 x 4 x (^) 5 x 6 RHS x 4 1 0 4 0 1 1/2^0 x 3 2 - 1 2 1 0 1/2^0 x 6 3 3 1 0 0 - 1/2 1 10 Z Z (^1) - 3 0 0 - 1 0 - 40

14

BV Eq. # (^) x 1 x 2 x 3 x 4 x (^) 5 x 6 RHS x 4 1 0 4 0 1 1/2^0 x 3 2 - 1 2 1 0 1/2^0 x 6 3 3 1 0 0 - 1/2 1 10 Z Z (^1) - 3 0 0 - 1 0 - 40 BV Eq. # (^) x 1 x 2 x 3 x 4 x (^) 5 x 6 RHS x 4 1 0 4 0 1 1/2^0 x 3 2 0 7/3^1 0 1/3^ 1/3^ 70/ x 1 3 1 1/3^0 0 - 1/6 1/3^ 10/ Z Z (^0) - 10/3 0 0 - 5/6 - 1/3 - 130/ All the reduced costs are nonpositive , so we stop. Optimal solution: x=(10/3,0,70/3,30,0,0) Optimal value of the objective function: Z* = -130/3.

16

Clearly, if x’j > x”j then x (^) j>0, whereas if x’j<x”j then x (^) j<0. And if x’j=x”j then x (^) j=0. Thus, x (^) j is indeed unrestricted in sign ( URS )

17

Example 5.6.

max

x

Z = 4 x 1 + 3 x 2

1 2 1 2 1 1 2

x x

x x

x

x x

, urs

(^19) Violation #

Negative RHS

This is handled by multiplying the respective constraint by -1 and taking care of the inequality sign if necessary (changing <= to >= and >= to <=).

20

Example 5.6.

Observe that in fixing this violation we created another one!

4 x 1 − 3 x 2 + x 3 ≤ − 13

− 4 x 1 + 3 x 2 − x 3 ≥ 13