A set covering approach to metallurgical grade assignment