Page 1 of 1

Please Don't Copy the answer from my old questions answers because its wrong: Q. Consider a two-dimensional objective fu

Posted: Wed May 11, 2022 8:58 pm
by answerhappygod
Please Don't Copy the answer from my old questions answers
because its wrong:
Q. Consider a two-dimensional objective function given by:
f(x,y) = y2-y+x2-3x
(a) Write a Matlab program to find the maximum of this function,
with starting point as (-1.2,1), and subject to no constraints:
(b) Write a Matlab program to find the maximum of this function,
with starting point as (-1.2,1), and subject to the following
constraints:
x ≥ 2
y ≥ 0
y ≤ x