For example, in some cases, I receive the following error:
Warning: Trust region method does not currently solve this type of problem, switching to line search. Error in > /R12/toolbox/optim/fmincon.m at line ??? In an assignment A(I) = B, the number of elements in B and I must be the same.
In other cases, I receive the following error:
Warning: Trust region method does not currently solve this type of problem, switching to line search. ??? Error using ==> qr Too many output arguments.
Best Answer