Info

この質問は閉じられています。 編集または回答するには再度開いてください。

patternsearch with nonlinear equality constraint: any advice for more efficient steps?

1 回表示 (過去 30 日間)
Sargondjani
Sargondjani 2019 年 2 月 5 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Dear all,
I have a constrained optimization problem which is not differentiable (because of some random errors), but it should be solvable with patternsearch.
However, I have a nonlinear equality constraint, and it seems the algorithm is making many inefficient steps. To give you some idea:
The optimization is for two variables. The optimum is around [4,0] (where lower bounds are [0,0], so that lower bound is binding for the second argument)
Initial value: [0.3,0.05]; Ceq = 1.8;
Then it evaluates [8.3,0.05], where the equality constraint is -1.2
And then in the first iteration pattern search starts to evaluate [8.3,x] where x will vary between 0.04 & 0.52, and includes more than 10 points, where any increase in x just worsens the equality constraint (gets more negative).
So my question is: is there a way to ensure that the patternsearch takes more efficient steps? I already set 'Cache' to 'on'.

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by