Setting compatibility check inside calib_sofun
Closed this issue · 1 comments
pepaaran commented
As it currently stands, certain parameters are provided twice in the calibration routine: once to create and the cost function and then as calib_sofun settings. If there are discrepancies (e.g. in the number of input parameters to the cost function and the number of parameter bounds given) things will break. Since the cost functions are user-defined, such a check cannot be incorporated inside them.
- Check for matching number of parameters
- Warning for optimization regime max/min(I suspect a check for this isn't possible)