Matrix is singular, close to singular or badly scaled. Results may be inaccurate

조회 수: 1 (최근 30일)
mohammad
mohammad 2023년 1월 5일
댓글: Matt J 2023년 1월 6일
I have a multi-objective optimization algorithm that I coded with CVX in MATLAB
minimize (sum(aa*(p).^2+b.*abs(p)+c)+(1/U)*sum_square( curve + P')
P IS VARIBLE
My program works without problems when U=1
But due to scaling the two objective functions, we have to determine the weight coefficient for the second objective function. I increased the value of U weighting factor with correctness and error. But when I set U =200, for example, an warning "Matrix is singular, close to singular or badly scaled. Results may be inaccurate" is displayed. What should be done to solve this problem (although I am not sure that U=200 is the right number )
  댓글 수: 1
Matt J
Matt J 2023년 1월 6일
although I am not sure that U=200 is the right number
It seems obvious from the warning that it is not.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Quadratic Programming and Cone Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by