Example
Let's say we have a function with two variables, x1 and x2, and we want to find the values of these variables that would allow the function to output the minimum value.
An optimization algorithm such as GA can be used to optimize the above function and find the optimal solution.