|\^/| Maple V Release 5 (WMI Campus Wide License) ._|\| |/|_. Copyright (c) 1981-1997 by Waterloo Maple Inc. All rights \ MAPLE / reserved. Maple and Maple V are registered trademarks of <____ ____> Waterloo Maple Inc. | Type ? for help. > > with(simplex); Warning, new definition for maximize Warning, new definition for minimize [basis, convexhull, cterm, define_zero, display, dual, feasible, maximize, minimize, pivot, pivoteqn, pivotvar, ratio, setup, standardize] > cnsts := { 110*x1+205*x2+160*x3+160*x4+420*x5+260*x6 >= 2000, > 110*x1+205*x2+160*x3+160*x4+420*x5+260*x6 <= 2500, > 4*x1+32*x2+13*x3+8*x4+4*x5+14*x6 >= 55, > 2*x1+12*x2+54*x3+285*x4+22*x5+80*x6 >= 800}; cnsts := {2000 <= 110 x1 + 205 x2 + 160 x3 + 160 x4 + 420 x5 + 260 x6, 110 x1 + 205 x2 + 160 x3 + 160 x4 + 420 x5 + 260 x6 <= 2500, 800 <= 2 x1 + 12 x2 + 54 x3 + 285 x4 + 22 x5 + 80 x6, 55 <= 4 x1 + 32 x2 + 13 x3 + 8 x4 + 4 x5 + 14 x6} > > obj:= 3*x1 + 24*x2 + 13*x3+9*x4+20*x5+19*x6; obj := 3 x1 + 24 x2 + 13 x3 + 9 x4 + 20 x5 + 19 x6 > minimize(obj,cnsts,NONNEGATIVE); 44200 8400 {x3 = 0, x2 = 0, x6 = 0, x5 = 0, x1 = -----, x4 = ----} 3103 3103