Trust regions and projected gradients