Optimizing a matrix variable

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 个评论

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

Community Treasure Hunt

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

Start Hunting!

Translated by