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
+42-8Lines changed: 42 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,11 +79,42 @@ The no preference method of multi-objective optimization, but a Pareto Front is
79
79
The optimizer minimizes the absolute value of the difference from the target outputs and the evaluated outputs. Future versions may include options for function minimization absent target values.
80
80
81
81
####Internal Objective Function Example
82
-
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.
82
+
83
+
There are three functions included in the repository:
84
+
1) Himmelblau's function, which takes 2 inputs and has 1 output
85
+
2) A multi-objective function with 3 inputs and 2 outputs (see lundquist_3_var)
86
+
3) A single-objective function with 1 input and 1 output (see one_dim_x_test)
87
+
88
+
Each function has four files in a directory:
89
+
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
90
+
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.
91
+
3) func_F.py - contains a function with the objective function.
92
+
4) graph.py - contains a script to graph the function for visualization.
93
+
94
+
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)
95
+
83
96
<palign="center">
84
-
<img src="https://github.com/LC-Linkous/cat_swarm_python/blob/main/media/obj_func_pareto.png" alt="Function Feasible Decision Space and Objective Space with Pareto Front" height="200">
<img src="https://github.com/LC-Linkous/chicken_swarm_python/blob/main/media/obj_func_pareto.png" alt="Function Feasible Decision Space and Objective Space with Pareto Front" height="200">
116
+
</p>
117
+
<palign="center">Plotted Multi-Objective Function Feasible Decision Space and Objective Space with Pareto Front</p>
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
102
-
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.
103
-
3) func_F.py - contains a function with the objective function.
104
131
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)
132
+
<palign="center">
133
+
<img src="https://github.com/LC-Linkous/chicken_swarm_python/blob/main/media/1D_test_plots.png" alt="Function Feasible Decision Space and Objective Space with Pareto Front" height="200">
134
+
</p>
135
+
<palign="center">Plotted Single Input, Single-objective Function Feasible Decision Space and Objective Space with Pareto Front</p>