Question: Estimate the global optima Two objective functions are used in this project. has the minimum when x = 3 . Eq . ( 1 )

Estimate the global optima
Two objective functions are used in this project.
has the minimum when x=3.
Eq.(1)
f(x)=60sin2(x)+x2,f(x) has the minimum when x=0.
Eq.(2)
Those two objective functions have multiple local minima and one global minimum, shown in Fig. 4 and Fig. 5.
3. Project report
In your project report, you need to provide:
Source code written by Python language, which estimates the global optima of Eq.(1) and Eq.(2).
The global optima and the corresponding horizontal coordinates.
Time consumption in seconds (Running time) when searching the global optima.
Submit your project report to Blackboard
Project 1.
1.Design a Python program based on the following pseudo code.
Tab 1. An algorithm, which is able to find out the global optima
Initialize x1=-6,x2=6;
Initialize T0=0.01;
Initialize Tk=0.01;
Initialize x0;
Initialize the step size S=1;
Initialize xoptimal=0;
Define an objective function f(x);
Initialize x=random(x1,x2);
Initialize t=1,n=1
While t5000 do:
ReceivNum =0
While (:xn>x2
Estimate the global optima Two objective

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 Programming Questions!