Investigation into parametic relationship and optimization, while processing some metals and using graph theory and AHP approach