Docsity

Bounded Variable Primal Simplex Algorithm | IOE 510, Study notes of Systems Engineering

Toggle sidebar
bg1
10.1
Bounded Variable Primal Simplex Algorithm
Katta G. Murty, IOE 510, LP, U. Of Michigan, Ann Arbor,
Winter 1997.
The standard form is: min z=cx, subject to Ax =b, 0≤
x≤uwhere Am×nand rank m.Someoftheujmay be +∞.
A BFS for this system is defined by a partition of the variables
into 3 sets (B,L,U) where:
B= Vector of basic variables each of which can
take any value within its bounds in the
BFS, the columns of Acorresponding to
these variables must form a basis.
L= Vector of nonbasic variables which are
fixed at lower bound 0 in the BFS.
U= Vector of nonbasic variables which are
fixed at their upper bounds in the BFS.
If Bis the basis matrix, then the basic solution corresponding
to the partition (B, L,U) is given by:
187
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Bounded Variable Primal Simplex Algorithm | IOE 510 and more Study notes Systems Engineering in PDF only on Docsity!

Bounded Variable Primal Simplex Algorithm

Katta G. Murty, IOE 510, LP, U. Of Michigan, Ann Arbor, Winter 1997.

The standard form is: min z = cx, subject to Ax = b, 0 ≤ x ≤ u where Am×n and rank m. Some of the u (^) j may be +∞.

A BFS for this system is defined by a partition of the variables into 3 sets (B, L, U) where:

B = Vector of basic variables each of which can take any value within its bounds in the BFS, the columns of A corresponding to these variables must form a basis. L = Vector of nonbasic variables which are fixed at lower bound 0 in the BFS. U = Vector of nonbasic variables which are fixed at their upper bounds in the BFS. If B is the basis matrix, then the basic solution corresponding to the partition (B, L, U) is given by:

x (^) L = 0 X (^) U = u (^) U x (^) B = B−^1 (b − A.U u (^) U ) The partition (B, L, U) is said to be a feasible partition if this basic sol. is feasible, i.e., if 0 ≤ B−^1 (b − A.U u (^) U ) ≤ u (^) B. A feasible sol. x¯ = (¯x (^) j) is a BFS iff {A.j : j such that 0 < x ¯ (^) j < u (^) j} is linearly independent.

BFS : Basic sol. corresponding to a feasible partition. Nondegenerate BFS : One in which every basic variable is strictly within its bounds. Degenerate BFS : One in which at least one basic variable is equal to its lower or upper bound.

Dual Basic Sol. Corresponding to Partition (B, L, U )

Let π be vector of dual variables associated with “Ax = b”, and μ (^) j the dual variable associated with “x (^) j ≤ u (^) j” for j ∈ J.

BOUNDED VARIABLE PRIMAL SIMPLEX AL-

GORITHM

Inputs Needed: Problem in bounded variable standard form, and a feasible partition for it.

  1. Checking optimality: Let (B, L, U) be the present parti- tion associated with the BFS ¯x = (¯x (^) B , x¯ (^) L , x¯ (^) U ), where x¯ (^) L = 0 x¯ (^) U = u (^) U x ¯ (^) B = ¯g = B−^1 (b − A.U u (^) U ) Inverse tableau wrt x (^) B maintained as before, with only dif- ference that nonbasics in U are at upper bound, and basic values vector is ¯g, and not ¯b = B−^1 b. Let ¯π = cB B−^1 be present dual sol. For all nonbasics x (^) j compute ¯cj. If

¯cj

  

≥ 0 for all x (^) j ∈ L ≤ 0 for all x (^) j ∈ U

(B, L, U) is an optimum partition, ¯x, π¯ are primal and dual opt. sols., terminate. Otherwise let E = {j : either x (^) j ∈ L and ¯cj < 0; or x (^) j ∈ U and ¯cj > 0 }, indices of eligible nonbasics to enter basic vector x (^) B.

  1. Select Entering Variable: Select a nonbasic variable x (^) j for a j ∈ E as the entering variable, say x (^) s.
  2. Minimum ratio Test: Let A¯.s = (¯a (^) is : i = 1 to m) be the updated column of x (^) s. Case 1: If x (^) s ∈ L, we have ¯cs < 0, and the objective value decreases if the value of x (^) s is increased from its present value of 0, to say λ. So, the new solution, x(λ) as a function of λ is:

Nonbasics other than x (^) s = Present value (lower/upper bound) x (^) s = λ x (^) B = g¯ − λ A¯.s z = z¯ + λ¯cs

EXAMPLES:

Basic Upper Updated entering col. Var. Value Bound x 1 0 40 − 1 − 1 − 1 − 1 x 2 10 40 − 1 − 1 − 1 − 1 x 3 20 40 0 0 0 1 x 4 30 80 1 1 0 0 x 5 0 80 1 − 1 − 1 0 x 6 15 80 1 − 1 − 1 0 UB of entering var. 20 10 50 50 Case 2: If x (^) s ∈ U, we have ¯cs > 0, and objective value decreases if the value of x (^) s is decreased from its present value of u (^) s. So, we make the new value of x (^) s = u (^) s − λ, leaving all other nonbasic variables at their present values. So, the new solution x(λ) is:

Nonbasics other than x (^) s = Present value (lower/upper bound) x (^) s = u (^) s − λ x (^) B = g¯ + λ A¯.s z = z¯ − λ¯cs Based on same arguments as before, in this case the min- imum ratio θ in this step is

θ = min[u (^) s , {u^ i^ a ¯− (^) is^ g¯i : i 3 a¯ (^) is > 0 }, { (^) −¯ga¯i (^) is : i 3 ¯a (^) is < 0 }] where ¯gi , u (^) i represent the present value and upper bound for the ith basic variable, i = 1 to m. All remaining work in this case is similar to that in Case

  1. Pivot Step: Select as the dropping basic variable, to be one whose ration ties for the minimum in the definition of θ. (a) Replace the dropping rth basic variable in the basic vector by x (^) s. Delete x (^) s from L or U where it is currently. (b) x(θ) is the new BFS. Replace the basic values column in the inverse tableau by the values of the new basic vector in