09.09.2014 Views

algorithms

algorithms

algorithms

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 7.2 The feasible polyhedron for a three-variable linear program.<br />

x 2<br />

Optimum<br />

x 3<br />

x 1<br />

Let x 1 , x 2 , x 3 denote the number of boxes of each chocolate produced daily, with x 3 referring to<br />

Luxe. The old constraints on x 1 and x 2 persist, although the labor restriction now extends to<br />

x 3 as well: the sum of all three variables can be at most 400. What’s more, it turns out that<br />

Nuit and Luxe require the same packaging machinery, except that Luxe uses it three times<br />

as much, which imposes another constraint x 2 + 3x 3 ≤ 600. What are the best possible levels<br />

of production?<br />

Here is the updated linear program.<br />

max x 1 + 6x 2 + 13x 3<br />

x 1 ≤ 200<br />

x 2 ≤ 300<br />

x 1 + x 2 + x 3 ≤ 400<br />

x 2 + 3x 3 ≤ 600<br />

x 1 , x 2 , x 3 ≥ 0<br />

The space of solutions is now three-dimensional. Each linear equation defines a 3D plane,<br />

and each inequality a half-space on one side of the plane. The feasible region is an intersection<br />

of seven half-spaces, a polyhedron (Figure 7.2). Looking at the figure, can you decipher which<br />

inequality corresponds to each face of the polyhedron?<br />

A profit of c corresponds to the plane x 1 + 6x 2 + 13x 3 = c. As c increases, this profit-plane<br />

moves parallel to itself, further and further into the positive orthant until it no longer touches<br />

192

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

Saved successfully!

Ooh no, something went wrong!