production planning and mining and