Regularity conditions for constrained extremum problems via image space approach: the linear case