Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

. 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

image text in transcribedimage text in transcribed

. 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

, , . , , , . , - , . - , .

Answered: 1 week ago

Question

5. Discuss the key components of behavior modeling training.

Answered: 1 week ago

Question

4. Develop a self-directed learning module.

Answered: 1 week ago

Question

2. Provide recommendations for effective on-the-job training.

Answered: 1 week ago