




You have the following equations and inequalities
x + y + z = 2, xy1, x0, y0, z0
find the maximum value of x + 2z.
Notice that each of the constraints is either an equality or inequality and all are linear in the variables, as is the function to be maximized. This makes this a linear program.