Emrah
Posts:
8
Registered:
12/30/12


Re: how to plot a function subject to constraints.
Posted:
Jan 7, 2013 12:15 PM


> No, it's because of the 4th constraint > > g(4)=0.10471*x(1)^2+0.04811*x(3)*x(4)*(14+x(2))5.0; > > which is equivalent to f(x)=5
no, g(4) and f(x) are different from eachother see: fx=1.10471.*x1^2.*x2+0.04811.*x3.*x4.*(14+x2); g4=0.10471.*x1^2+0.04811.*x3.*x4.*(14+x2)5;

