Closed SimonBlanke closed 1 year ago
Here is an example search-path-gif with a constraint at the optimum around the [0, 0] position for the Hill-climbing algorithm:
A similar example for Bayesian Optimization. Very interesting to see:
A similar example for Grid Search. That way easier than expected:
Multiple constraints (xx+yy > 5 && x > -3) are not a problem:
From my current progress I see the following optimization algorithms as non-trivial for the constraint optimization implementation:
I managed to add support for constrained optimization to all optimization algorithms and added some tests in dda3b6125f20ab79d93e43d5969f32c3ed4ba0d3.
Next I will add more tests, write the documentation and add examples. After that I will release this new feature in version 1.3.
There are three different ways this feature is implemented in the algorithms:
I added an example for constrained optimization to the repository and released v1.3 for the documentation for GFO. All tests look good.
I just released version 1.3 and will close this issue.
This is a big new feature, so feedback is appreciated and can be submitted in this issue.
I want to add the support for constrained optimization. The interface design could look like this:
Implementing this in the optimization algorithms will need various solutions: