Info

This question is closed. Reopen it to edit or answer.

Parameter values that cause exceptions when using fmincon

1 view (last 30 days)
Hello,
I am trying to minimize a multivariable likelihood function that depends on a parameter x. For some values of the parameter, matlab will throw an exception, for example, from failure of a matrix to be positive definite. How should this be handled? A possibility is to set the likelihood to +Inf for this value of the parameter. Will this upset the design of the minimization algorithm?

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!