Problem using the optimization toolbox

조회 수: 1 (최근 30일)
maroua maro
maroua maro 2014년 4월 16일
i have to minimize a function f(x) where x is a vector with constraints (ub and lb for x). I choose the fmincon solver and then i specified the strat point as a vector i have the following error and i didn't understand where is my mistake exactly
Error running optimization. In an assignment A(I) = B, the number of elements in B and I must be the same.
thank you for help

답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by