(* *) (* Numerical Mathematics and Computing, Fifth Edition *) (* Ward Cheney & David Kincaid *) (* Brooks/Cole Publ. Co. *) (* (c) 2003 *) (* No warranties implied or expressed. *) (* File: exp4 *) (* linear programming example 4 *) (* minimize objective function subject to inequality constraints *) ConstrainedMin[e, {2*x + 3*y - 5*z - e <= 4, x - y - e <= 2, x + 2*y - 3*z - e <= 7, -2*x - 3*y + 5*z - e <= -4, -x + y - e <= -2, -x - 2*y + 3*z - e <= -7}, {x, y, z, e}]