Hi,
what I'm doing wrong so that it displayes error after my specification:
options = optimset('Display','off','Algorithm','active-set');parameters=fmincon(@SMM2optimconstraint, [10, 0.5, 50, 1.55], A, b, Aeq, beq, lb, ub, options);
Error is:
Error using optimfcnchk (line 286)NONLCON must be a function.Error in fmincon (line 436) confcn = optimfcnchk(NONLCON,'fmincon',length(varargin),funValCheck,flags.gradconst,false,true);
Thanks.
Best Answer