A major Casper underpass will close for up to three weeks as the city tackles a drainage problem that has contributed to flooding.