Mathematical Definition
Input Domain
It is defined in the domain (-1≤ xi≤1) for i= 1,2, …….. ,n, given that it is continuous in the range.
Global Minima
The Exponential function has one global minima f(x1*) = at x* = 0.
Description and Features
Unimodel Function.
Convex
Continuous
Differentiability
Non- Seperable
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
% Author: Vanshita Tripathi
import matplotlib.pyplot as plt
import matplotlib as mpl
from mpl_toolkits import mplot3d
import numpy as np
from numpy import*
from mpl_toolkits.mplot3d import Axes3D
%matplotlib notebook
plt.rcParams['figure.figsize'] = (6,4)
plt.rcParams['figure.dpi']=150
fig=plt.figure()
ax=fig.add_subplot(111,projection='3d')
ax= plt.axes(projection='3d')
def f(x1,x2):
a= -exp(-0.5*(x1*x1 + x2*x2))
return a
x1= linspace(-1,1)
x2= linspace(-1,1)
X1,X2= meshgrid(x1,x2)
ax.plot_surface(X1,X2,f(X1,X2), cmap='jet')
ax.set_xlabel('x1')
ax.set_ylabel('x2')
ax.set_zlabel('f(x1,y1)')
ax.view_init(100,100)
plt.show()
References:
[1] Jamil, Momin, and Xin-She Yang. "A literature survey of benchmark functions for global optimization problems." International Journal of Mathematical Modelling and Numerical Optimization 4.2 (2013): 150-194.
[2] Hongmei Ma, Cheng Peng, Jinying Gan, Yonghong den, “An Optimization Algorithm for Exponential Curve Model of Single Pile Bearing Capacity”, https://doi.org/10.1007/s10706-020-01663-1(0123456789().,-volV)( 01234567.
Σχόλια