cumttc

Results 7 issues of cumttc

当使用目标函数时,有一些参数需要传入但不需要优化,例如:y=x[0]*b+x[1]**c+d x是需要优化的,但bcd是三个不需要优化的变量(需要传入目标函数)。在scipy库中用的是args{...},在sko中是如何实现的呢?

### Description What do I need to do to make the data type of the optimisation parameter an integer instead of a float? Take the following code as an example:...

enhancement

能否通过随机数种子的方法,使得结果固定? 类似pymoo的“seed”变量

请问如何在停止条件中加入运行时间限制?

wrapper() 需要 1 个位置参数,但给出了 2 个 class dingwei(eaproblem): # 继承Problem父类 def __init__(self,**kwargs): name = 'MyProblem' # 初始化name(函数名称,可以随意设置) M = 1 # 初始化M(目标维数) maxormins = [-1] # 初始化maxormins(目标最小最大化标记列表,1:最小化该目标;-1:最大化该目标) Dim = 4...

According to the manual and the 'DefaultSingleObjectiveTermination', “DefaultTermination”, “get_ termination”, it does not seem to be supported.

term_dict = { "max_epoch": 15, "max_time": 60, "max_fe": 1000, } model.solve(xxxxxxxxxxxxx,,termination=term_dict) 2024/10/08 04:34:00 PM, INFO, mealpy.swarm_based.PSO.P_PSO [line: 162]: Solving single objective optimization problem. 2024/10/08 04:34:13 PM, INFO, mealpy.swarm_based.PSO.P_PSO [line: 270]:...