The bearing from Madison, Wisconsin to Bismarck, North Dakota is west-northwest (approx. 295°–300°).
You'll cross the Mississippi at La Crosse, skirt the Badlands near Wall, SD, and enter the Missouri River valley approaching Bismarck.