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 个评论
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!