A 40-year-old man is evaluated in follow-up for irritable bowel syndrome with constipation (IBS-C), which was diagnosed 3 months ago. His IBS symptoms did not respond to a trial of psyllium, which was discontinued owing to bloating. A trial of polyethylene glycol had similar results. He has no other medical problems and takes no other medications.

On physical examination, vital signs are normal. Abdominal examination reveals generalized abdominal tenderness but is otherwise normal.

Which of the following is the most appropriate treatment?