Dear ,
I am writting a code on optimization based on problem based approach; ie;
syms x,yfun=a/b; % where a and b have a large value combination of random complex no of x and y.(it is nonlinear and non convex)
x = optimvar('x');y = optimvar('y');
prob.Objective = fcn2optimexpr(fun,x,y); —–> showing error in this line
prob.Constraints.cons1 =norm(cr)^2<=10; ——> showing error in this line
How I can proceed from here.
Thank you.
Best Answer