필터 지우기
필터 지우기

fmincon for matrix optimization

조회 수: 4 (최근 30일)
yp78
yp78 2019년 5월 23일
댓글: yp78 2019년 5월 24일
I am trying to solve the following minimization problem:
  • where the is a positive number, Wis a 11-by-3 orthogonal (eigenvector) matrix, and Ω is the 3-by-3 diagonal (eigenvalue) matrix
  • the free parameters to be optimized are the last column vector (11-by-1) of W, and the last eigenvalue (1-by-1 schaler) in Ω.
Subject to the constraints:
  • .
I am looking at fmincon, but the problem seems to be not as straight forward as I initially thought. Below is my wroking code.
In particular, I want to know:
1. whether the following structure is correct
2. how to make "myObjectivefunction" to optimise the vector and scaler values at the same time
optimized = fmincon(@(x) myObjectivefunction, initialV,[],[],w',beq,[],[],@nonLinconVec,options);
  • optimized is a 12-by-1 vector of outputs. I put the eigenvalue in the first element, and the eigenvector in to (2:end) of the vector (not sure if it's correct or not)
  • [w', beq] satisfies the first constraint (verified)
  • @nonLinconVec: a separate file for the second constraint (verified)
I truly appreciate your help and suggestions!
  댓글 수: 4
yp78
yp78 2019년 5월 24일
Hi David, thank you so much for the nice example. I implimented your code with my data set, yes it does the work which I was trying to do. For further improvement, could I ask what exactly do you mean by minimising the residuals? Which residuals are you talking about?
yp78
yp78 2019년 5월 24일
Hi Matt, thanks to your comments, I become aware of the problem. I started to reform the optimization problem from different perspective now.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by