Adding trace operator to a constraint in optimization? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Constrained optimization: equality constraintOptimization with symmetric matrix constraintRelaxed optimization problemsIntuitive explanation of trace minimization under constraintsAfter solving binary programing problem the constrait is violatedWhy constraint optimization problem becomes infeasible when coefficient is zeroWhat is meant in this optimization problemDerivative-free, Simulation-based OptimizationMinimizing quadratic objective subject to a quadratic equality constraintSolving dynamic optimization with non-binding inequality constraint

Why does tar appear to skip file contents when output file is /dev/null?

How are presidential pardons supposed to be used?

Why does this iterative way of solving of equation work?

Passing functions in C++

When communicating altitude with a '9' in it, should it be pronounced "nine hundred" or "niner hundred"?

Keep going mode for require-package

How to market an anarchic city as a tourism spot to people living in civilized areas?

How is simplicity better than precision and clarity in prose?

How to say that you spent the night with someone, you were only sleeping and nothing else?

When is phishing education going too far?

How to add zeros to reach same number of decimal places in tables?

Who can trigger ship-wide alerts in Star Trek?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Geometric mean and geometric standard deviation

Active filter with series inductor and resistor - do these exist?

What kind of display is this?

How to pour concrete for curved walkway to prevent cracking?

Estimated State payment too big --> money back; + 2018 Tax Reform

Was credit for the black hole image misattributed?

Need a suitable toxic chemical for a murder plot in my novel

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

How to rotate it perfectly?

What computer would be fastest for Mathematica Home Edition?

How does modal jazz use chord progressions?



Adding trace operator to a constraint in optimization?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Constrained optimization: equality constraintOptimization with symmetric matrix constraintRelaxed optimization problemsIntuitive explanation of trace minimization under constraintsAfter solving binary programing problem the constrait is violatedWhy constraint optimization problem becomes infeasible when coefficient is zeroWhat is meant in this optimization problemDerivative-free, Simulation-based OptimizationMinimizing quadratic objective subject to a quadratic equality constraintSolving dynamic optimization with non-binding inequality constraint










1












$begingroup$


MIN tr(ABCD)
s.t BC=I


An optimization problem with trace in the objective function, but matrix equation in the constraint. So, you see the problem right away when constructing the Lagrangian (you end up adding scalar with matrices).



I'm reading the solution and it goes like this when building the Lagrangian:



L=tr(ABCD) - tr((BC-I)*Z)


Can you explain this solution? Where did the Z come from? how does it help solving the problem mentioned above. How was tr() added to the constraint.










share|cite|improve this question









New contributor




John Deterious is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$











  • $begingroup$
    PS: that wasn't the exact problem, just a mock, but it conveys the idea.
    $endgroup$
    – John Deterious
    Apr 8 at 19:24










  • $begingroup$
    Yeah, the $Z$ is probably a $2$.
    $endgroup$
    – Mark Fischler
    Apr 8 at 19:24










  • $begingroup$
    @MarkFischler No, it is a symmetric matrix. Somehow it helps.
    $endgroup$
    – John Deterious
    Apr 8 at 19:25










  • $begingroup$
    And the condition that $BC = I$ can't be what you meant, because this becomes finding $min mbox tr(AD)$.
    $endgroup$
    – Mark Fischler
    Apr 8 at 19:26











  • $begingroup$
    @MarkFischler This is just a toy example, you are correct. But, still, regardless of that point, what's the answer?
    $endgroup$
    – John Deterious
    Apr 8 at 19:27















1












$begingroup$


MIN tr(ABCD)
s.t BC=I


An optimization problem with trace in the objective function, but matrix equation in the constraint. So, you see the problem right away when constructing the Lagrangian (you end up adding scalar with matrices).



I'm reading the solution and it goes like this when building the Lagrangian:



L=tr(ABCD) - tr((BC-I)*Z)


Can you explain this solution? Where did the Z come from? how does it help solving the problem mentioned above. How was tr() added to the constraint.










share|cite|improve this question









New contributor




John Deterious is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$











  • $begingroup$
    PS: that wasn't the exact problem, just a mock, but it conveys the idea.
    $endgroup$
    – John Deterious
    Apr 8 at 19:24










  • $begingroup$
    Yeah, the $Z$ is probably a $2$.
    $endgroup$
    – Mark Fischler
    Apr 8 at 19:24










  • $begingroup$
    @MarkFischler No, it is a symmetric matrix. Somehow it helps.
    $endgroup$
    – John Deterious
    Apr 8 at 19:25










  • $begingroup$
    And the condition that $BC = I$ can't be what you meant, because this becomes finding $min mbox tr(AD)$.
    $endgroup$
    – Mark Fischler
    Apr 8 at 19:26











  • $begingroup$
    @MarkFischler This is just a toy example, you are correct. But, still, regardless of that point, what's the answer?
    $endgroup$
    – John Deterious
    Apr 8 at 19:27













1












1








1





$begingroup$


MIN tr(ABCD)
s.t BC=I


An optimization problem with trace in the objective function, but matrix equation in the constraint. So, you see the problem right away when constructing the Lagrangian (you end up adding scalar with matrices).



I'm reading the solution and it goes like this when building the Lagrangian:



L=tr(ABCD) - tr((BC-I)*Z)


Can you explain this solution? Where did the Z come from? how does it help solving the problem mentioned above. How was tr() added to the constraint.










share|cite|improve this question









New contributor




John Deterious is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$




MIN tr(ABCD)
s.t BC=I


An optimization problem with trace in the objective function, but matrix equation in the constraint. So, you see the problem right away when constructing the Lagrangian (you end up adding scalar with matrices).



I'm reading the solution and it goes like this when building the Lagrangian:



L=tr(ABCD) - tr((BC-I)*Z)


Can you explain this solution? Where did the Z come from? how does it help solving the problem mentioned above. How was tr() added to the constraint.







linear-algebra matrices optimization






share|cite|improve this question









New contributor




John Deterious is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question









New contributor




John Deterious is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question








edited Apr 8 at 19:49







John Deterious













New contributor




John Deterious is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 8 at 19:23









John DeteriousJohn Deterious

83




83




New contributor




John Deterious is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





John Deterious is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






John Deterious is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • $begingroup$
    PS: that wasn't the exact problem, just a mock, but it conveys the idea.
    $endgroup$
    – John Deterious
    Apr 8 at 19:24










  • $begingroup$
    Yeah, the $Z$ is probably a $2$.
    $endgroup$
    – Mark Fischler
    Apr 8 at 19:24










  • $begingroup$
    @MarkFischler No, it is a symmetric matrix. Somehow it helps.
    $endgroup$
    – John Deterious
    Apr 8 at 19:25










  • $begingroup$
    And the condition that $BC = I$ can't be what you meant, because this becomes finding $min mbox tr(AD)$.
    $endgroup$
    – Mark Fischler
    Apr 8 at 19:26











  • $begingroup$
    @MarkFischler This is just a toy example, you are correct. But, still, regardless of that point, what's the answer?
    $endgroup$
    – John Deterious
    Apr 8 at 19:27
















  • $begingroup$
    PS: that wasn't the exact problem, just a mock, but it conveys the idea.
    $endgroup$
    – John Deterious
    Apr 8 at 19:24










  • $begingroup$
    Yeah, the $Z$ is probably a $2$.
    $endgroup$
    – Mark Fischler
    Apr 8 at 19:24










  • $begingroup$
    @MarkFischler No, it is a symmetric matrix. Somehow it helps.
    $endgroup$
    – John Deterious
    Apr 8 at 19:25










  • $begingroup$
    And the condition that $BC = I$ can't be what you meant, because this becomes finding $min mbox tr(AD)$.
    $endgroup$
    – Mark Fischler
    Apr 8 at 19:26











  • $begingroup$
    @MarkFischler This is just a toy example, you are correct. But, still, regardless of that point, what's the answer?
    $endgroup$
    – John Deterious
    Apr 8 at 19:27















$begingroup$
PS: that wasn't the exact problem, just a mock, but it conveys the idea.
$endgroup$
– John Deterious
Apr 8 at 19:24




$begingroup$
PS: that wasn't the exact problem, just a mock, but it conveys the idea.
$endgroup$
– John Deterious
Apr 8 at 19:24












$begingroup$
Yeah, the $Z$ is probably a $2$.
$endgroup$
– Mark Fischler
Apr 8 at 19:24




$begingroup$
Yeah, the $Z$ is probably a $2$.
$endgroup$
– Mark Fischler
Apr 8 at 19:24












$begingroup$
@MarkFischler No, it is a symmetric matrix. Somehow it helps.
$endgroup$
– John Deterious
Apr 8 at 19:25




$begingroup$
@MarkFischler No, it is a symmetric matrix. Somehow it helps.
$endgroup$
– John Deterious
Apr 8 at 19:25












$begingroup$
And the condition that $BC = I$ can't be what you meant, because this becomes finding $min mbox tr(AD)$.
$endgroup$
– Mark Fischler
Apr 8 at 19:26





$begingroup$
And the condition that $BC = I$ can't be what you meant, because this becomes finding $min mbox tr(AD)$.
$endgroup$
– Mark Fischler
Apr 8 at 19:26













$begingroup$
@MarkFischler This is just a toy example, you are correct. But, still, regardless of that point, what's the answer?
$endgroup$
– John Deterious
Apr 8 at 19:27




$begingroup$
@MarkFischler This is just a toy example, you are correct. But, still, regardless of that point, what's the answer?
$endgroup$
– John Deterious
Apr 8 at 19:27










1 Answer
1






active

oldest

votes


















0












$begingroup$

I think, you need the trace in this setting, since the constraint is not scalar, but matrix-valued. The $Z$ is your matrix-valued Lagrange multiplier, which cannot be scalar in this setting.



I have written down a the Lagrange approach for such very general equality constraints:
beginalign
max_x in X f(x) \ texts.t. g(x) = 0,
endalign

where $f:X rightarrow mathbbR$, and $g: X rightarrow Y$, where $X$ and $Y$ are Hilbert spaces (like $mathbbR^k$, $mathcalL^2$,...).



The Lagrange function is given by
$$L(x, Lambda) = f(x) + langle Lambda, g(x) rangle_Y,$$



where $Lambda in Y$ is the Lagrange multiplier, and $langle cdot, cdot rangle_Y$ is the inner product of $Y$.



The question is: Does the set of matrices that is some superset of the image of $BC-I$ in your notation, form a Hilbert space $Y$ with the trace of the product of two matrices being their inner product; i.e. $langle A, B rangle_X := mathrmtrace(AB)$? That is at least not obvious for me.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    "Z is your matrix-valued Lagrange multiplier" Makes perfect sense. Thank you.
    $endgroup$
    – John Deterious
    Apr 8 at 23:21












Your Answer








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



);






John Deterious is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3180084%2fadding-trace-operator-to-a-constraint-in-optimization%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









0












$begingroup$

I think, you need the trace in this setting, since the constraint is not scalar, but matrix-valued. The $Z$ is your matrix-valued Lagrange multiplier, which cannot be scalar in this setting.



I have written down a the Lagrange approach for such very general equality constraints:
beginalign
max_x in X f(x) \ texts.t. g(x) = 0,
endalign

where $f:X rightarrow mathbbR$, and $g: X rightarrow Y$, where $X$ and $Y$ are Hilbert spaces (like $mathbbR^k$, $mathcalL^2$,...).



The Lagrange function is given by
$$L(x, Lambda) = f(x) + langle Lambda, g(x) rangle_Y,$$



where $Lambda in Y$ is the Lagrange multiplier, and $langle cdot, cdot rangle_Y$ is the inner product of $Y$.



The question is: Does the set of matrices that is some superset of the image of $BC-I$ in your notation, form a Hilbert space $Y$ with the trace of the product of two matrices being their inner product; i.e. $langle A, B rangle_X := mathrmtrace(AB)$? That is at least not obvious for me.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    "Z is your matrix-valued Lagrange multiplier" Makes perfect sense. Thank you.
    $endgroup$
    – John Deterious
    Apr 8 at 23:21
















0












$begingroup$

I think, you need the trace in this setting, since the constraint is not scalar, but matrix-valued. The $Z$ is your matrix-valued Lagrange multiplier, which cannot be scalar in this setting.



I have written down a the Lagrange approach for such very general equality constraints:
beginalign
max_x in X f(x) \ texts.t. g(x) = 0,
endalign

where $f:X rightarrow mathbbR$, and $g: X rightarrow Y$, where $X$ and $Y$ are Hilbert spaces (like $mathbbR^k$, $mathcalL^2$,...).



The Lagrange function is given by
$$L(x, Lambda) = f(x) + langle Lambda, g(x) rangle_Y,$$



where $Lambda in Y$ is the Lagrange multiplier, and $langle cdot, cdot rangle_Y$ is the inner product of $Y$.



The question is: Does the set of matrices that is some superset of the image of $BC-I$ in your notation, form a Hilbert space $Y$ with the trace of the product of two matrices being their inner product; i.e. $langle A, B rangle_X := mathrmtrace(AB)$? That is at least not obvious for me.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    "Z is your matrix-valued Lagrange multiplier" Makes perfect sense. Thank you.
    $endgroup$
    – John Deterious
    Apr 8 at 23:21














0












0








0





$begingroup$

I think, you need the trace in this setting, since the constraint is not scalar, but matrix-valued. The $Z$ is your matrix-valued Lagrange multiplier, which cannot be scalar in this setting.



I have written down a the Lagrange approach for such very general equality constraints:
beginalign
max_x in X f(x) \ texts.t. g(x) = 0,
endalign

where $f:X rightarrow mathbbR$, and $g: X rightarrow Y$, where $X$ and $Y$ are Hilbert spaces (like $mathbbR^k$, $mathcalL^2$,...).



The Lagrange function is given by
$$L(x, Lambda) = f(x) + langle Lambda, g(x) rangle_Y,$$



where $Lambda in Y$ is the Lagrange multiplier, and $langle cdot, cdot rangle_Y$ is the inner product of $Y$.



The question is: Does the set of matrices that is some superset of the image of $BC-I$ in your notation, form a Hilbert space $Y$ with the trace of the product of two matrices being their inner product; i.e. $langle A, B rangle_X := mathrmtrace(AB)$? That is at least not obvious for me.






share|cite|improve this answer









$endgroup$



I think, you need the trace in this setting, since the constraint is not scalar, but matrix-valued. The $Z$ is your matrix-valued Lagrange multiplier, which cannot be scalar in this setting.



I have written down a the Lagrange approach for such very general equality constraints:
beginalign
max_x in X f(x) \ texts.t. g(x) = 0,
endalign

where $f:X rightarrow mathbbR$, and $g: X rightarrow Y$, where $X$ and $Y$ are Hilbert spaces (like $mathbbR^k$, $mathcalL^2$,...).



The Lagrange function is given by
$$L(x, Lambda) = f(x) + langle Lambda, g(x) rangle_Y,$$



where $Lambda in Y$ is the Lagrange multiplier, and $langle cdot, cdot rangle_Y$ is the inner product of $Y$.



The question is: Does the set of matrices that is some superset of the image of $BC-I$ in your notation, form a Hilbert space $Y$ with the trace of the product of two matrices being their inner product; i.e. $langle A, B rangle_X := mathrmtrace(AB)$? That is at least not obvious for me.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Apr 8 at 20:14









JonasJonas

415312




415312











  • $begingroup$
    "Z is your matrix-valued Lagrange multiplier" Makes perfect sense. Thank you.
    $endgroup$
    – John Deterious
    Apr 8 at 23:21

















  • $begingroup$
    "Z is your matrix-valued Lagrange multiplier" Makes perfect sense. Thank you.
    $endgroup$
    – John Deterious
    Apr 8 at 23:21
















$begingroup$
"Z is your matrix-valued Lagrange multiplier" Makes perfect sense. Thank you.
$endgroup$
– John Deterious
Apr 8 at 23:21





$begingroup$
"Z is your matrix-valued Lagrange multiplier" Makes perfect sense. Thank you.
$endgroup$
– John Deterious
Apr 8 at 23:21











John Deterious is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















John Deterious is a new contributor. Be nice, and check out our Code of Conduct.












John Deterious is a new contributor. Be nice, and check out our Code of Conduct.











John Deterious is a new contributor. Be nice, and check out our Code of Conduct.














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%2f3180084%2fadding-trace-operator-to-a-constraint-in-optimization%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

Hidroelektrana Sadržaj Povijest | Podjela hidroelektrana | Snaga dobivena u hidroelektranama | Dijelovi hidroelektrane | Uloga hidroelektrana u suvremenom svijetu | Prednosti hidroelektrana | Nedostaci hidroelektrana | Države s najvećom proizvodnjom hidro-električne energije | Deset najvećih hidroelektrana u svijetu | Hidroelektrane u Hrvatskoj | Izvori | Poveznice | Vanjske poveznice | Navigacijski izbornikTechnical Report, Version 2Zajedničkom poslužiteljuHidroelektranaHEP Proizvodnja d.o.o. - Hidroelektrane u Hrvatskoj

Oconto (Nebraska) Índice Demografia | Geografia | Localidades na vizinhança | Referências Ligações externas | Menu de navegação41° 8' 29" N 99° 45' 41" O41° 8' 29" N 99° 45' 41" OU.S. Census Bureau. Census 2000 Summary File 1U.S. Census Bureau. Estimativa da população (julho de 2006)U.S. Board on Geographic Names. Topical Gazetteers Populated Places. Gráficos do banco de dados de altitudes dos Estados Unidos da AméricaEstatísticas, mapas e outras informações sobre Oconto em city-data.com

WordPress Information needed