Inflow and outflow problems in the half space for a one-dimensional isentropic model system of compressible viscous gas