Stopping pattern search when a target value is reached

This may be a feature request, rather than a question. I'd like to run pattern search until a particular target value is reached (not using a relative x or f criterion. I don't see an obvious way to do this --- does one exist?

답변 (1개)

Alan Weiss
Alan Weiss 2018년 5월 7일

0 개 추천

Use an output function, and have the function set the stop value to true when the solver reaches the condition you want.
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

제품

질문:

2018년 5월 4일

답변:

2018년 5월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by