 Principal filming of the Las Vegas scenes took place at the Planet Hollywood Resort & Casino, the Red Rock Casino, and the Hard Rock Casino in Las Vegas.Filming also took place at Harvard Medical School, Chinatown, in Cambridge, and the Christian Science Center in Boston, Massachusetts.As Massachusetts Institute of Technology did not allow filming on campus, the MIT school and dorm interiors, the gymnasium, and the alumni reception were all shot at Boston University.