function [c, ceq] = confun(z) % Nonlinear inequality constraints global x eta c = norm(z-x) - eta; % Nonlinear equality constraints ceq = []; end
Sign in for post a comment
Comment ( 0 )