Open Lbaron980810 opened 1 year ago
The function returns 10.0 when collision hits, so that the constraint should be view as unsatisfied.
COBYLA assumes that the function is differentiable, so if you have a discontinuous function that's going to have unpredictable effects on convergence.
The function returns 10.0 when collision hits, so that the constraint should be view as unsatisfied.
COBYLA assumes that the function is differentiable, so if you have a discontinuous function that's going to have unpredictable effects on convergence.
Make sense. So is there any method can handle my problem?
Hi there: During my optimization, I applied LN_COBYLA since it supports arbitrary nonlinear constraint. My "constraint function" is actually a collision avoidance function. The function returns 10.0 when collision hits, so that the constraint should be view as unsatisfied. However, the result in experiment shows the constraint is not satisfied, and the algorithm can still get finished and converge. Can anyone give me some advice? Thanks sincerely!![Screenshot from 2022-10-29 21-14-44](https://user-images.githubusercontent.com/46702351/198833976-5a525d97-f3bf-4bca-8658-6b765ad3db21.png)