We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e878d53 commit be3cb4bCopy full SHA for be3cb4b
mealpy/swarm_based/AO.py
@@ -121,7 +121,7 @@ class AAO(Optimizer):
121
>>> "minmax": "min",
122
>>> }
123
>>>
124
- >>> model = AO.AAO(epoch=1000, pop_size=50)
+ >>> model = AO.AAO(epoch=1000, pop_size=50, sharpness=10.0, sigmoid_midpoint=0.5)
125
>>> g_best = model.solve(problem_dict)
126
>>> print(f"Solution: {g_best.solution}, Fitness: {g_best.target.fitness}")
127
>>> print(f"Solution: {model.g_best.solution}, Fitness: {model.g_best.target.fitness}")
0 commit comments