A key aspect in the optimization framework is the low computational cost of each iteration coming from the ML model, since the grid search will perform 1024 iterations plus the calculation of the NM method on each iteration. The optimization framework takes ~10 days to get the optimal values. The dual-method, NM method plus the grid search, is performed to overcome the risk of getting a local minimum.