top of page
Search

# SHUBERT 3 FUNCTION   Mathematical Definition Input Domain

The function can be defined on any input domain but it is usually evaluated on xi ∈[−10,10] for i=1,…,n. Here, n = 2.

Global Minima

The function has one global minimum f(x*)=−29.6733337.

Characteristics

The function is continuous, not convex, defined on n-dimensional space, multimodal, differentiable, separable.

Python Implementation

```% Please forward any comments or bug reports in chat
Copyright 2021. INDUSMIC PRIVATE LIMITED.THERE IS NO WARRANTY, EXPRESS OR IMPLIED. WE DO NOT ASSUME ANY LIABILITY FOR THE USE OF THIS PROGRAM. If software is modified to produce derivative works, such modified software should be clearly marked. Additionally, user can redistribute it and/or modify it under the terms of the GNU General Public License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. See the GNU General Public License for more details.
% for any support connect with us on help.indusmic@gmail.com

import numpy as np
from numpy import sin
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.gca(projection='3d')
x = np.arange(-10, 10, 0.1)
y = np.arange(-10, 10,0.1)
x, y = np.meshgrid(x, y)
n = int(input("enter number N :"))
sum = 0
for i in range(1, n+1):
for j in range(1,6):
sum = sum + (j * sin((j + 1) * x + y + j))
surface = ax.plot_surface(x, y, sum, cmap='Purples')
plt.show()
plt.contour(x,y,sum)
plt.show()
plt.scatter(x, y, sum)
plt.show()```

References:

 Survajonic, Sonja & Bingham, Derek, “Virtual Library of Simulation Experiments”, sfu.ca,

https://www.sfu.ca/~ssurjano/optimization.html