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