I have a function that is undefined for certain inputs, and I would like to minimize it. If I use "fmincon" and constrain the solver to avoid the areas where the function is undefined, will this guarantee that the objective function will not be evaluated at any points where the function is undefined?
MATLAB: Does “fmincon” evaluate the objective function at points that don’t meet the constraints
constraintfminconinterior-pointOptimization Toolbox
Best Answer