I am trying to optimize a 336 by 2 matrix (called A) whose elements are used in another 336 by 1 matrix (called B) as variables. Here, the B matrix values are constrained. The issue i'm facing is that the 1st and 336th (final) values are constants, and the n+1 element of the B matrix depends on the nth values of the A as well as the B matrix itself and I can't find a suitable type of constrain. Also what kind of optimizing function can return a matrix as an output?

댓글 수: 1

Matt J
Matt J 2020년 6월 14일
Just about every optimizer in the Optimization Toolbox and the Global Optimization Toolbox can optimize over a matrix variable. However, we need to see a more detailed mathematical description of the problem to understand what difficulties you're having.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

질문:

2020년 6월 14일

댓글:

2020년 6월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by