Rerun OSR to check for optimality or local extremum

  1. You are not running a proper loop. Please have a look at

and use set_param_value to update your parameter a.
2. It is not uncommon that the optimal parameters are extremely large. See

  1. Within your loop you can add another loop that draws random starting values.
1 Like