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
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,13 +113,17 @@ 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. 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

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

122
+
We can see that the algorithm quickly converges to the optimal point (see Fig. 5) as reported by the original article. Note that graph is decreasing instead of increasing (in the case of original paper) because our objective is to MINIMIZE instead of maximizing. You can just add a negative sign in the function to get maximization.
122
123
124
+

125
+
126
+
*Fig 5. Quick convergence of Duelist Algorithm*
123
127
124
128
For more examples refer to the python scripts in "examples" folder. [https://github.com/tsyet12/Duelist-Algorithm-Python/tree/master/examples]
125
129
@@ -135,8 +139,15 @@ Currently Version 1.0
135
139
136
140
-[X] Update ReadMe
137
141
138
-
-[] Add plot functions
142
+
-[X] Add plot functions
139
143
140
144
-[ ] Add a modified feature for faster convergence
141
145
142
-
-[ ] Add result loging
146
+
-[ ] Add result logging and export to csv
147
+
148
+
149
+
# Contact Me
150
+
151
+
If you have ideas or some opportunities for collaboration, feel free to send me an email. I will respond quickly.
0 commit comments