Tag: objective-function
MATLAB 'fminunc' not converging with custom objective function that includes conditional logic