Solving a matrix least squares problem with a fixed Frobenius norm constraint
$begingroup$
I am trying to solve for X an equation of the form :
Min ||AXB-CXD|| s.t. ||X||_F=1,
where , A, C are m-by-m matrices, and B, D are n-by-b matrices. Is there any effective algorithms?
Any hint is greatly appreciated :-)
numerical-linear-algebra
$endgroup$
add a comment |
$begingroup$
I am trying to solve for X an equation of the form :
Min ||AXB-CXD|| s.t. ||X||_F=1,
where , A, C are m-by-m matrices, and B, D are n-by-b matrices. Is there any effective algorithms?
Any hint is greatly appreciated :-)
numerical-linear-algebra
$endgroup$
add a comment |
$begingroup$
I am trying to solve for X an equation of the form :
Min ||AXB-CXD|| s.t. ||X||_F=1,
where , A, C are m-by-m matrices, and B, D are n-by-b matrices. Is there any effective algorithms?
Any hint is greatly appreciated :-)
numerical-linear-algebra
$endgroup$
I am trying to solve for X an equation of the form :
Min ||AXB-CXD|| s.t. ||X||_F=1,
where , A, C are m-by-m matrices, and B, D are n-by-b matrices. Is there any effective algorithms?
Any hint is greatly appreciated :-)
numerical-linear-algebra
numerical-linear-algebra
asked Jan 31 at 1:35


Jiao-fen LiJiao-fen Li
11
11
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Your problem is equivalent to
$min | AXB - CXD |_{F}^{2} $
subject to
$| X |_{F}^{2} = 1$.
Here, squaring the norms simplifies the calculations below without changing the optimal solutions.
The key idea is that this problem is really a linear least squares problem in the entries of the matrix $X$. If you let the vector $u$ be defined by
$u=mbox{vec}(X)=left[
begin{array}{c}
X_{1,1} \
X_{2,1} \
vdots \
X_{m,1} \
X_{1,2} \
X_{2,2} \
vdots \
vdots \
X_{m,n}
end{array}
right]$
Then $mbox{vec}(AXB-CXD)$ can be written as
$mbox{vec}(AXB-CXD)=Gu$
where the entries of G can be computed by a tedious calculation. In terms of $G$ and $u$, your problem is now
$min | Gu |_{2}^{2}$
subject to
$| u |_{2}^{2}=1$.
This can be written as
$min u^{T}G^{T}Gu$
subject to
$u^{T}u=1$.
This is simply the problem of finding a normalized eigenvector of $G^{T}G$ corresponding to the smallest eigenvalue of $G^{T}G$.
$endgroup$
$begingroup$
Thank you very much for your reply
$endgroup$
– Jiao-fen Li
Jan 31 at 3:10
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3094372%2fsolving-a-matrix-least-squares-problem-with-a-fixed-frobenius-norm-constraint%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Your problem is equivalent to
$min | AXB - CXD |_{F}^{2} $
subject to
$| X |_{F}^{2} = 1$.
Here, squaring the norms simplifies the calculations below without changing the optimal solutions.
The key idea is that this problem is really a linear least squares problem in the entries of the matrix $X$. If you let the vector $u$ be defined by
$u=mbox{vec}(X)=left[
begin{array}{c}
X_{1,1} \
X_{2,1} \
vdots \
X_{m,1} \
X_{1,2} \
X_{2,2} \
vdots \
vdots \
X_{m,n}
end{array}
right]$
Then $mbox{vec}(AXB-CXD)$ can be written as
$mbox{vec}(AXB-CXD)=Gu$
where the entries of G can be computed by a tedious calculation. In terms of $G$ and $u$, your problem is now
$min | Gu |_{2}^{2}$
subject to
$| u |_{2}^{2}=1$.
This can be written as
$min u^{T}G^{T}Gu$
subject to
$u^{T}u=1$.
This is simply the problem of finding a normalized eigenvector of $G^{T}G$ corresponding to the smallest eigenvalue of $G^{T}G$.
$endgroup$
$begingroup$
Thank you very much for your reply
$endgroup$
– Jiao-fen Li
Jan 31 at 3:10
add a comment |
$begingroup$
Your problem is equivalent to
$min | AXB - CXD |_{F}^{2} $
subject to
$| X |_{F}^{2} = 1$.
Here, squaring the norms simplifies the calculations below without changing the optimal solutions.
The key idea is that this problem is really a linear least squares problem in the entries of the matrix $X$. If you let the vector $u$ be defined by
$u=mbox{vec}(X)=left[
begin{array}{c}
X_{1,1} \
X_{2,1} \
vdots \
X_{m,1} \
X_{1,2} \
X_{2,2} \
vdots \
vdots \
X_{m,n}
end{array}
right]$
Then $mbox{vec}(AXB-CXD)$ can be written as
$mbox{vec}(AXB-CXD)=Gu$
where the entries of G can be computed by a tedious calculation. In terms of $G$ and $u$, your problem is now
$min | Gu |_{2}^{2}$
subject to
$| u |_{2}^{2}=1$.
This can be written as
$min u^{T}G^{T}Gu$
subject to
$u^{T}u=1$.
This is simply the problem of finding a normalized eigenvector of $G^{T}G$ corresponding to the smallest eigenvalue of $G^{T}G$.
$endgroup$
$begingroup$
Thank you very much for your reply
$endgroup$
– Jiao-fen Li
Jan 31 at 3:10
add a comment |
$begingroup$
Your problem is equivalent to
$min | AXB - CXD |_{F}^{2} $
subject to
$| X |_{F}^{2} = 1$.
Here, squaring the norms simplifies the calculations below without changing the optimal solutions.
The key idea is that this problem is really a linear least squares problem in the entries of the matrix $X$. If you let the vector $u$ be defined by
$u=mbox{vec}(X)=left[
begin{array}{c}
X_{1,1} \
X_{2,1} \
vdots \
X_{m,1} \
X_{1,2} \
X_{2,2} \
vdots \
vdots \
X_{m,n}
end{array}
right]$
Then $mbox{vec}(AXB-CXD)$ can be written as
$mbox{vec}(AXB-CXD)=Gu$
where the entries of G can be computed by a tedious calculation. In terms of $G$ and $u$, your problem is now
$min | Gu |_{2}^{2}$
subject to
$| u |_{2}^{2}=1$.
This can be written as
$min u^{T}G^{T}Gu$
subject to
$u^{T}u=1$.
This is simply the problem of finding a normalized eigenvector of $G^{T}G$ corresponding to the smallest eigenvalue of $G^{T}G$.
$endgroup$
Your problem is equivalent to
$min | AXB - CXD |_{F}^{2} $
subject to
$| X |_{F}^{2} = 1$.
Here, squaring the norms simplifies the calculations below without changing the optimal solutions.
The key idea is that this problem is really a linear least squares problem in the entries of the matrix $X$. If you let the vector $u$ be defined by
$u=mbox{vec}(X)=left[
begin{array}{c}
X_{1,1} \
X_{2,1} \
vdots \
X_{m,1} \
X_{1,2} \
X_{2,2} \
vdots \
vdots \
X_{m,n}
end{array}
right]$
Then $mbox{vec}(AXB-CXD)$ can be written as
$mbox{vec}(AXB-CXD)=Gu$
where the entries of G can be computed by a tedious calculation. In terms of $G$ and $u$, your problem is now
$min | Gu |_{2}^{2}$
subject to
$| u |_{2}^{2}=1$.
This can be written as
$min u^{T}G^{T}Gu$
subject to
$u^{T}u=1$.
This is simply the problem of finding a normalized eigenvector of $G^{T}G$ corresponding to the smallest eigenvalue of $G^{T}G$.
answered Jan 31 at 2:07
Brian BorchersBrian Borchers
6,27611320
6,27611320
$begingroup$
Thank you very much for your reply
$endgroup$
– Jiao-fen Li
Jan 31 at 3:10
add a comment |
$begingroup$
Thank you very much for your reply
$endgroup$
– Jiao-fen Li
Jan 31 at 3:10
$begingroup$
Thank you very much for your reply
$endgroup$
– Jiao-fen Li
Jan 31 at 3:10
$begingroup$
Thank you very much for your reply
$endgroup$
– Jiao-fen Li
Jan 31 at 3:10
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3094372%2fsolving-a-matrix-least-squares-problem-with-a-fixed-frobenius-norm-constraint%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown