rwrs solver