metallurgical process optimization