Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the
COBYQA
optimizer which was recently added to SciPy, in v1.14.To do
x0
is infeasible with respect to some inequality constraint even though it is within bounds." (see #155)Open question
This PR also updates the callback function for scipy optimizers. I was hoping that this would include the current best point instead of simply the latest point. This would remove the need to determine the optimal points ourselves using the
ParetoFront
class. However, this is not how it's implemented inCOBYQA
(see here).Note, this interface is not supported by
COBYLA
andSLSQP
, so these optimizers would have to be removed from CADET-Process when using the newer interface. SinceCOBYQA
can replaceCOBYLA
, I don't mind it going butSLSQP
might be handy to keep around. So should we revert these changes (for now)?Edit: Instead of removing
COBYLA
andSLSQP
, provide both interfaces and switch depending on the selected method.