A multiplier method with automatic limitation of penalty growth