Question: . Consider the following problem: Minimize f(X) = 2X12 + X22 + 2X1X2-10x2-10x2 subject to gi(X): xi2+ x22 34 gi(X): 4xi+ 0.5x26 a) First solve

 . Consider the following problem: Minimize f(X) = 2X12 + X22+ 2X1X2-10x2-10x2 subject to gi(X): xi2+ x22 34 gi(X): 4xi+ 0.5x26 a)

. Consider the following problem: Minimize f(X) = 2X12 + X22 + 2X1X2-10x2-10x2 subject to gi(X): xi2+ x22 34 gi(X): 4xi+ 0.5x26 a) First solve it using graphical method. To do so, first you need to draw the objective function contours using Matlab. You may use the following Matlab commands to sketch the contours. Then identify the feasible set and the constrained optimal solution 8Hw5P1 Matlab program for HW4 problem 1 close all [x1, x2] meshgrid (-5:0. 1:10); %Define grid for evaluation of "f" figure (1) % Plot function f = 2*x1.^2 + x2 . ^2 + 2*x1.1x2-10*x1-10#x2; %Define funcion "f" % [c, h ] = contour (x1 , x2, f, 25) ; ys[-5: 5:50]; % v Range of contour values to plot [C,hl contour (x1,x2, f,v); clabel (C, h) set (h, 'color', 'k') axis square hold on % Plot constraint surfaces hi-ezplot (1x1"2+x2"2-4') % Plot constraint surface gl (X) set (hl, "color', 'k' h2-e zplot('4*x1 + 0.5*x2-6') % Plot constraint surface g2(x) set (h2, "color', 'k') hold off grid minor

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!