I have heard that the raw diet works well with dogs with this problem but could not say this was gospel, I know one of my dogs had a sort of irritable bowel, flutuating between runny poos and constipated, once I had put him on the barf diet it settled and he seems a lot happier.
Mo