Simulation and fitting of complex reaction network TPR: The key is the objective function