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 Comment

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.

Sign in to comment.

Answers (0)

Asked:

on 14 Jun 2020

Commented:

on 14 Jun 2020

Community Treasure Hunt

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

Start Hunting!