24.03.2013 Views

Linear Programming Lecture Notes - Penn State Personal Web Server

Linear Programming Lecture Notes - Penn State Personal Web Server

Linear Programming Lecture Notes - Penn State Personal Web Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Remark 3.16. We can deal with constraints of the form:<br />

(3.21) ai1x1 + ai2x2 + · · · + ainxn ≥ bi<br />

in a similar way. In this case we subtract a surplus variable si to obtain:<br />

ai1x1 + ai2x2 + · · · + ainxn − si = bi<br />

Again, we must have si ≥ 0.<br />

Theorem 3.17. Every linear programming problem in standard form can be put into<br />

canonical form.<br />

Proof. Recall that Ax = b if and only if Ax ≤ b and Ax ≥ b. The second inequality<br />

can be written as −Ax ≤ −b. This yields the linear programming problem:<br />

⎧<br />

max z(x) =c<br />

⎪⎨<br />

(3.22)<br />

⎪⎩<br />

T x<br />

s.t. Ax ≤ b<br />

− Ax ≤ −b<br />

x ≥ 0<br />

Defining the appropriate augmented matrices allows us to convert this linear programming<br />

problem into canonical form. <br />

Exercise 24. Complete the “pedantic” proof of the preceding theorem by defining the<br />

correct augmented matrices to show that the linear program in Expression 3.22 is in canonical<br />

form.<br />

The standard solution method for linear programming models (the Simplex Algorithm)<br />

assumes that all variables are non-negative. Though this assumption can be easily relaxed,<br />

the first implementation we will study imposes this restriction. The general linear programming<br />

problem we posed in Expression 3.15 does not (necessarily) impose any sign restriction<br />

on the variables. We will show that we can transform a problem in which xi is unrestricted<br />

into a new problem in which all variables are positive. Clearly, if xi ≤ 0, then we simply<br />

replace xi by −yi in every expression and then yi ≥ 0. On the other hand, if we have the<br />

constraint xi ≥ li, then clearly we can write yi = xi − li and yi ≥ 0. We can then replace xi<br />

by yi + li in every equation or inequality where xi appears. Finally, if xi ≤ ui, but xi may<br />

be negative, then we may write yi = ui − xi. Clearly, yi ≥ 0 and we can replace xi by ui − yi<br />

in every equation or inequality where xi appears.<br />

If xi is unrestricted in sign and has no upper or lower bounds, then let xi = yi − zi where<br />

yi, zi ≥ 0 and replace xi by (yi − zi) in the objective, equations and inequalities of a general<br />

linear programming problem. Since yi, zi ≥ 0 and may be given any values as a part of the<br />

solution, clearly xi may take any value in R.<br />

Exercise 25. Convince yourself that the general linear programming problem shown<br />

in Expression 3.15 can be converted into canonical (or standard) form using the following<br />

steps:<br />

(1) Every constraint of the form xi ≤ ui can be dealt with by substituting yi = ui − xi,<br />

yi ≥ 0.<br />

(2) Every constraint of the form li ≤ xi can be dealt with by substituting yi = xi − li,<br />

yi ≥ 0.<br />

32

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!