Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

avoid complex values optimizer

조회 수: 1 (최근 30일)
Camelot Abeits
Camelot Abeits 2017년 12월 9일
마감: John D'Errico 2017년 12월 9일
Hi, i'm running a couple of optimizers, like Simulated Annealing, fminsearch, fminunc. How can i state in the optimizers that i don't want them to run into "regions" of complex numbers? For example, i'm evaluating a log likelihood and the fminsearch and the Annealing are reporting maximized likelihood with imaginary parts. I don't want to start again the optimizer (meaning i don't need a statement like "while ... is complex, repeat", i just need something like:
Dont get into complex regions or, if you do get in those regions, get back and go somewhere else.
Thank's a lot!

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by