Review of optimization aspects for casting processes