Chapter 8. Mining: Which Pits to Work and When to Close Them Down