Achieving Environmental Goals at Minimum Economic Cost