Curve fitting vs optimization | Metals Mine