Open letianpao opened 5 years ago
error use barrier Objective function is undefined at initial point. Fmincon cannot continue.
出错 fmincon (line 813) [X,FVAL,EXITFLAG,OUTPUT,LAMBDA,GRAD,HESSIAN] = barrier(funfcn,X,A,B,Aeq,Beq,l,u,confcn,options.HessFcn, ...
error max_restr_likelihood (line 41) x= fmincon(MLE,x0,A,b,Aeq,beq,lb,ub, nonlcon, options);
error tune_hyper (line 7) model = max_restr_likelihood(model); % Using MLE technique to tune the matrix A and hyperparametrs teta.
errorMRSM (line 49) model=tune_hyper(model); % Tune hyperparametrs
error mian (line 19) MGP = MRSM (X, Y);
same error happened in my code too. How do you solve it?
error use barrier Objective function is undefined at initial point. Fmincon cannot continue.
出错 fmincon (line 813) [X,FVAL,EXITFLAG,OUTPUT,LAMBDA,GRAD,HESSIAN] = barrier(funfcn,X,A,B,Aeq,Beq,l,u,confcn,options.HessFcn, ...
error max_restr_likelihood (line 41) x= fmincon(MLE,x0,A,b,Aeq,beq,lb,ub, nonlcon, options);
error tune_hyper (line 7) model = max_restr_likelihood(model); % Using MLE technique to tune the matrix A and hyperparametrs teta.
errorMRSM (line 49) model=tune_hyper(model); % Tune hyperparametrs
error mian (line 19) MGP = MRSM (X, Y);