The purpose of this paper is to study the discontinuous solutions to a shallow water wave equation with relaxation. The typical initial value problem of discontinuous solutions is the Riemann problem. Unlike the homogeneous hyperbolic conservation laws, due to the inhomogeneity of the system studied here, the solutions of the Riemann problem do not have a self-similar structure anymore. This pr...