1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Warning: The default trust-region-reflective algorithm does not solve problems with the constraints you have
specified. FMINCON will use the active-set algorithm instead. For information on applicable algorithms, see
Choosing the Algorithm in the documentation.
> In fmincon at 504
In FitAlt at 9
Warning: Your current settings will run a different algorithm (interior-point) in a future release.
> In fmincon at 509
In FitAlt at 9
Undefined function 'fitness' for input arguments of type 'double'.
Error in nonlcon (line 4)
ceq=-fitness(altSP,t,a)
Error in FitAlt>@(a)nonlcon(alt,time,a) (line 9)
polH=fmincon(@(a)fitness(alt,time,a),a0,[],[],[],[],[],[],@(a)nonlcon(alt,time,a));
Error in fmincon (line 722)
[ctmp,ceqtmp] = feval(confcn{3},X,varargin{:});
Error in FitAlt (line 9)
polH=fmincon(@(a)fitness(alt,time,a),a0,[],[],[],[],[],[],@(a)nonlcon(alt,time,a));
Caused by:
Failure in initial user-supplied nonlinear constraint function evaluation. FMINCON cannot continue. |
Partager