If $\mathrm { x } , \mathrm { y }$ satisfy the constraint conditions $\left\{ \begin{array} { l } x - y + 1 \geqslant 0 , \\ x - 2 y \leqslant 0 , \\ x + 2 y - 2 \leqslant 0 , \end{array} \right.$ then the maximum value of $z = x + y$ is $\_\_\_\_$ .