飞蛾扑火优化算法python代码实现
# Moth-flame optimization algorithm
import random as rd
from math import exp, cos, pi
from copy import deepcopy
import sys
import numpy as np
half=0.4999999
def ini(SearchAgents_no,dim,ub,lb):
population, fitness = [], []
Boundary_no= ub /dim #
原创
2021-11-30 19:24:12 ·
959 阅读 ·
1 评论