Solving a matrix least squares problem with a fixed Frobenius norm constraint












-1












$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 :-)










share|cite|improve this question









$endgroup$

















    -1












    $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 :-)










    share|cite|improve this question









    $endgroup$















      -1












      -1








      -1





      $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 :-)










      share|cite|improve this question









      $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






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 31 at 1:35









      Jiao-fen LiJiao-fen Li

      11




      11






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $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$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Thank you very much for your reply
            $endgroup$
            – Jiao-fen Li
            Jan 31 at 3:10












          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
          });


          }
          });














          draft saved

          draft discarded


















          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









          1












          $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$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Thank you very much for your reply
            $endgroup$
            – Jiao-fen Li
            Jan 31 at 3:10
















          1












          $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$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Thank you very much for your reply
            $endgroup$
            – Jiao-fen Li
            Jan 31 at 3:10














          1












          1








          1





          $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$.






          share|cite|improve this answer









          $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$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          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


















          • $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


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          MongoDB - Not Authorized To Execute Command

          in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

          Npm cannot find a required file even through it is in the searched directory