The Burgers equation on the semiline with general boundary conditions at the origin