문제

I need to find the constrained version of fminsearch in Matlab, the fminsearch works with unconstrained nonlinear minimization. What is such operation?

도움이 되었습니까?

해결책

fminbnd is a bounded non-linear minimisation function, but it is restricted to one-dimension.

fmincon is the constrained version of fminsearch, but is only available in the Optimisation Toolbox.

If you have the Optimation toolbox, you should use fmincon, as it is more flexible, and in general will be faster.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top