{ Exmpl12.9-1_Convex.mpl } { Hillier and Lieberman, Introduction to Operations Research, 9th ed. } { Chapter 12.9, Example 1, Convex, Size: 2x1, Page 582 } TITLE ConvexProgramming; OPTIONS ModelType=2 INDEX i := 1..2; DATA c[i] := (3, 2); VARIABLES x[i]; MODEL MAX Z = 5x[1] - x[1]^2 + 8x[2] - 2x[2]^2; SUBJECT TO Constr: SUM(i: c * x) <= 6; END