Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0bb5267

Browse files
committed
readme update
1 parentadc1a11 commit0bb5267

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

‎README.md‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#chicknen_swarm_python
1+
#chicken_swarm_python
22

33
Basic chicken swarm optimizer written in Python. Modified from the[adaptive timestep PSO optimizer](https://github.com/jonathan46000/pso_python) by[jonathan46000](https://github.com/jonathan46000) to keep a consistent format across optimizers in AntennaCAT.
44

55

6-
76
Now featuring AntennaCAT hooks for GUI integration and user input handling.
87

98
##Table of Contents
@@ -82,10 +81,9 @@ The optimizer minimizes the absolute value of the difference from the target out
8281
####Internal Objective Function Example
8382
The current internal optimization function takes 3 inputs, and has 2 outputs. It was created as a simple 3-variable optimization objective function that would be quick to converge.
8483
<palign="center">
85-
<img src="https://github.com/LC-Linkous/cat_swarm_python/blob/main/media/obj_func_pareto.png" alt="FunctionFeasable Decision Space and Objective Space with Pareto Front" height="200">
84+
<img src="https://github.com/LC-Linkous/cat_swarm_python/blob/main/media/obj_func_pareto.png" alt="FunctionFeasible Decision Space and Objective Space with Pareto Front" height="200">
8685
</p>
87-
<palign="center">Function Feasable Decision Space and Objective Space with Pareto Front</p>
88-
86+
<palign="center">Function Feasible Decision Space and Objective Space with Pareto Front</p>
8987

9088
```math
9189
\text{minimize}:
@@ -99,14 +97,12 @@ f_{2}(\mathbf{x}) = (x_3-0.2)^4
9997
|----------|----------|----------|
10098
| 3| $0.21\leq x_1\leq 1$ <br> $0\leq x_2\leq 1$ <br> $0.1 \leq x_3\leq 0.5$| $x_3\gt \frac{x_1}{2}$ or $x_3\lt 0.1$|
10199

102-
103100
This function has three files:
104101
1) configs_F.py - contains imports for the objective function and constraints, CONSTANT assignments for functions and labeling, boundary ranges, the number of input variables, the number of output values, and the target values for the output
105102
2) constr_F.py - contains a function with the problem constraints, both for the function and for error handling in the case of under/overflow.
106103
3) func_F.py - contains a function with the objective function.
107104

108-
Other multi-objective functions can be applied to this project by following the same format (and several have been collected into a compatable library, and will be realeased in a seperate repo)
109-
105+
Other multi-objective functions can be applied to this project by following the same format (and several have been collected into a compatible library, and will be released in a separate repo)
110106

111107

112108
##Example Implementations
@@ -127,7 +123,6 @@ main_test_graph.py provides an example using a parent class, and the self.suppre
127123

128124
NOTE: if you close the graph as the code is running, the code will continue to run, but the graph will not re-open.
129125

130-
131126
##References
132127

133128
[1] X. B. Meng, Y. Liu, X. Gao, and H. Zhang, "A new bio-inspired algorithm: Chicken swarm optimization," in Proc. Int. Conf. Swarm Intell. Cham, Switzerland, Springer, 2014, pp. 86–94.
@@ -140,3 +135,5 @@ Publications featuring the code in this repo will be added as they become public
140135
##Licensing
141136

142137
The code in this repository has been released under GPL-2.0
138+
139+

‎media/chicken_swarm.gif‎

86.7 MB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp