Question: Problem 4 : Write a MATLAB / Python code to find the best possible solution ( maximum ) within 1 0 , 0 0 0

Problem 4:
Write a MATLAB/Python code to find the best possible solution (maximum) within 10,000
iterations:
f(x1,x2,x3)=3x12+2x22+x32-2x1x2+2x2x3-2x1x3-6x1-4x2-2x3
x1in[-5,5],x2in[-3,3],x3in[-1,6]
Please provide your codes and print the f(x),x1,x2,x3 for every five hundred iterations, e.g.,
1,500,1000,dotsdots,1000.
 Problem 4: Write a MATLAB/Python code to find the best possible

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!