Optimal Solutions for Migraine and Headache Management