You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,13 +113,15 @@ DA.solve(plot=True)
113
113
114
114
***RESULTS***
115
115
116
-
From the console we can deduce the optimal result (see Fig. 4) . The global optimal has a fitness of 25, while duelist algorithm found 25.01. So Duelist Algorithm performs well.
116
+
From the console we can deduce the optimal result (see Fig. 4) . The global optimal has a fitness of 25, while duelist algorithm found 25.01. Error of 0.01 can be reduced by putting more maximum generations in solver.
117
+
117
118

118
119
*Fig 4. Optimal Results in Console*
119
120
120
121
We can see that the algorithm quickly converges to the optimal point (see Fig. 5) as reported by the original article.
121
-

122
122
123
+

124
+
*Fig 5. Quick convergence of Duelist Algorithm*
123
125
124
126
For more examples refer to the python scripts in "examples" folder. [https://github.com/tsyet12/Duelist-Algorithm-Python/tree/master/examples]
0 commit comments