The optimal solution in a linear programming problem with the objective function ax+b may be solved from its graph by drawing the line ax+b=c, which lies within the feasible region, and then moving the line parallel to this line as far (upwards if maximising, downwards if minimising) as possible within the feasible region.