The operation of KKT condition in lagrange function
$begingroup$
Does kkt condition do the partial differential to the lagrange multiplier i wanted,and set the equation become zero? i mean,
$L=P_E+alpha [P_T-sumlimits _{k=1}^{K}p_k]+gamma [sumlimits _{j=1}^{K}p_j|h_kf_k|^2 + sigma^2_{a_{k}}-frac{P}{1-rho_k}]+mu[frac{p_k |h_kf_k|^2}{bar gamma}-sumlimits_{k neq j}p_j|h_kf_k|^2- sigma^2_{a_{k}}-frac{sigma^2_{d_{k}}}{1-rho_k}]$
$alpha,mu $ and $gamma$ are lagrange multiplier,so if i do the kkt condition ,it means that i do partial differential to $alpha,mu $ and $gamma$ and set the formula to be zero,that is
$[P_T-sumlimits _{k=1}^{K}p_k]=0$ , $[sumlimits _{j=1}^{K}p_j|h_kf_k|^2 + sigma^2_{a_{k}}-frac{P}{1-rho_k}]=0$ and $[frac{p_k |h_kf_k|^2}{bar gamma}-sumlimits_{k neq j}p_j|h_kf_k|^2- sigma^2_{a_{k}}-frac{sigma^2_{d_{k}}}{1-rho_k}]=0$,so if and just set some parameter are known,and use matlab to do calculate the equation ,and i can get the solution i want,take $rho$ for example.
Is KKT condition actually like this?
optimization convex-optimization lagrange-multiplier karush-kuhn-tucker
$endgroup$
add a comment |
$begingroup$
Does kkt condition do the partial differential to the lagrange multiplier i wanted,and set the equation become zero? i mean,
$L=P_E+alpha [P_T-sumlimits _{k=1}^{K}p_k]+gamma [sumlimits _{j=1}^{K}p_j|h_kf_k|^2 + sigma^2_{a_{k}}-frac{P}{1-rho_k}]+mu[frac{p_k |h_kf_k|^2}{bar gamma}-sumlimits_{k neq j}p_j|h_kf_k|^2- sigma^2_{a_{k}}-frac{sigma^2_{d_{k}}}{1-rho_k}]$
$alpha,mu $ and $gamma$ are lagrange multiplier,so if i do the kkt condition ,it means that i do partial differential to $alpha,mu $ and $gamma$ and set the formula to be zero,that is
$[P_T-sumlimits _{k=1}^{K}p_k]=0$ , $[sumlimits _{j=1}^{K}p_j|h_kf_k|^2 + sigma^2_{a_{k}}-frac{P}{1-rho_k}]=0$ and $[frac{p_k |h_kf_k|^2}{bar gamma}-sumlimits_{k neq j}p_j|h_kf_k|^2- sigma^2_{a_{k}}-frac{sigma^2_{d_{k}}}{1-rho_k}]=0$,so if and just set some parameter are known,and use matlab to do calculate the equation ,and i can get the solution i want,take $rho$ for example.
Is KKT condition actually like this?
optimization convex-optimization lagrange-multiplier karush-kuhn-tucker
$endgroup$
$begingroup$
only if the original constraints were equality constraints to begin with
$endgroup$
– LinAlg
Jan 8 at 17:53
$begingroup$
yes!the formula to be zero is actually the original constraints were equality constraints,so is my thinking right?
$endgroup$
– electronic component
Jan 9 at 0:58
$begingroup$
why don't you have an objective function in your Lagrangian?
$endgroup$
– LinAlg
Jan 9 at 1:40
$begingroup$
@LinAlg i have added it
$endgroup$
– electronic component
Jan 9 at 4:28
$begingroup$
The KKT conditions also include a stationarity condition (which is the derivative of L with respect to the original optimization variable) and a complementary slackness condition.
$endgroup$
– LinAlg
Jan 9 at 13:40
add a comment |
$begingroup$
Does kkt condition do the partial differential to the lagrange multiplier i wanted,and set the equation become zero? i mean,
$L=P_E+alpha [P_T-sumlimits _{k=1}^{K}p_k]+gamma [sumlimits _{j=1}^{K}p_j|h_kf_k|^2 + sigma^2_{a_{k}}-frac{P}{1-rho_k}]+mu[frac{p_k |h_kf_k|^2}{bar gamma}-sumlimits_{k neq j}p_j|h_kf_k|^2- sigma^2_{a_{k}}-frac{sigma^2_{d_{k}}}{1-rho_k}]$
$alpha,mu $ and $gamma$ are lagrange multiplier,so if i do the kkt condition ,it means that i do partial differential to $alpha,mu $ and $gamma$ and set the formula to be zero,that is
$[P_T-sumlimits _{k=1}^{K}p_k]=0$ , $[sumlimits _{j=1}^{K}p_j|h_kf_k|^2 + sigma^2_{a_{k}}-frac{P}{1-rho_k}]=0$ and $[frac{p_k |h_kf_k|^2}{bar gamma}-sumlimits_{k neq j}p_j|h_kf_k|^2- sigma^2_{a_{k}}-frac{sigma^2_{d_{k}}}{1-rho_k}]=0$,so if and just set some parameter are known,and use matlab to do calculate the equation ,and i can get the solution i want,take $rho$ for example.
Is KKT condition actually like this?
optimization convex-optimization lagrange-multiplier karush-kuhn-tucker
$endgroup$
Does kkt condition do the partial differential to the lagrange multiplier i wanted,and set the equation become zero? i mean,
$L=P_E+alpha [P_T-sumlimits _{k=1}^{K}p_k]+gamma [sumlimits _{j=1}^{K}p_j|h_kf_k|^2 + sigma^2_{a_{k}}-frac{P}{1-rho_k}]+mu[frac{p_k |h_kf_k|^2}{bar gamma}-sumlimits_{k neq j}p_j|h_kf_k|^2- sigma^2_{a_{k}}-frac{sigma^2_{d_{k}}}{1-rho_k}]$
$alpha,mu $ and $gamma$ are lagrange multiplier,so if i do the kkt condition ,it means that i do partial differential to $alpha,mu $ and $gamma$ and set the formula to be zero,that is
$[P_T-sumlimits _{k=1}^{K}p_k]=0$ , $[sumlimits _{j=1}^{K}p_j|h_kf_k|^2 + sigma^2_{a_{k}}-frac{P}{1-rho_k}]=0$ and $[frac{p_k |h_kf_k|^2}{bar gamma}-sumlimits_{k neq j}p_j|h_kf_k|^2- sigma^2_{a_{k}}-frac{sigma^2_{d_{k}}}{1-rho_k}]=0$,so if and just set some parameter are known,and use matlab to do calculate the equation ,and i can get the solution i want,take $rho$ for example.
Is KKT condition actually like this?
optimization convex-optimization lagrange-multiplier karush-kuhn-tucker
optimization convex-optimization lagrange-multiplier karush-kuhn-tucker
edited Jan 9 at 4:28
electronic component
asked Jan 8 at 6:05
electronic componentelectronic component
407
407
$begingroup$
only if the original constraints were equality constraints to begin with
$endgroup$
– LinAlg
Jan 8 at 17:53
$begingroup$
yes!the formula to be zero is actually the original constraints were equality constraints,so is my thinking right?
$endgroup$
– electronic component
Jan 9 at 0:58
$begingroup$
why don't you have an objective function in your Lagrangian?
$endgroup$
– LinAlg
Jan 9 at 1:40
$begingroup$
@LinAlg i have added it
$endgroup$
– electronic component
Jan 9 at 4:28
$begingroup$
The KKT conditions also include a stationarity condition (which is the derivative of L with respect to the original optimization variable) and a complementary slackness condition.
$endgroup$
– LinAlg
Jan 9 at 13:40
add a comment |
$begingroup$
only if the original constraints were equality constraints to begin with
$endgroup$
– LinAlg
Jan 8 at 17:53
$begingroup$
yes!the formula to be zero is actually the original constraints were equality constraints,so is my thinking right?
$endgroup$
– electronic component
Jan 9 at 0:58
$begingroup$
why don't you have an objective function in your Lagrangian?
$endgroup$
– LinAlg
Jan 9 at 1:40
$begingroup$
@LinAlg i have added it
$endgroup$
– electronic component
Jan 9 at 4:28
$begingroup$
The KKT conditions also include a stationarity condition (which is the derivative of L with respect to the original optimization variable) and a complementary slackness condition.
$endgroup$
– LinAlg
Jan 9 at 13:40
$begingroup$
only if the original constraints were equality constraints to begin with
$endgroup$
– LinAlg
Jan 8 at 17:53
$begingroup$
only if the original constraints were equality constraints to begin with
$endgroup$
– LinAlg
Jan 8 at 17:53
$begingroup$
yes!the formula to be zero is actually the original constraints were equality constraints,so is my thinking right?
$endgroup$
– electronic component
Jan 9 at 0:58
$begingroup$
yes!the formula to be zero is actually the original constraints were equality constraints,so is my thinking right?
$endgroup$
– electronic component
Jan 9 at 0:58
$begingroup$
why don't you have an objective function in your Lagrangian?
$endgroup$
– LinAlg
Jan 9 at 1:40
$begingroup$
why don't you have an objective function in your Lagrangian?
$endgroup$
– LinAlg
Jan 9 at 1:40
$begingroup$
@LinAlg i have added it
$endgroup$
– electronic component
Jan 9 at 4:28
$begingroup$
@LinAlg i have added it
$endgroup$
– electronic component
Jan 9 at 4:28
$begingroup$
The KKT conditions also include a stationarity condition (which is the derivative of L with respect to the original optimization variable) and a complementary slackness condition.
$endgroup$
– LinAlg
Jan 9 at 13:40
$begingroup$
The KKT conditions also include a stationarity condition (which is the derivative of L with respect to the original optimization variable) and a complementary slackness condition.
$endgroup$
– LinAlg
Jan 9 at 13:40
add a comment |
0
active
oldest
votes
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%2f3065854%2fthe-operation-of-kkt-condition-in-lagrange-function%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f3065854%2fthe-operation-of-kkt-condition-in-lagrange-function%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
$begingroup$
only if the original constraints were equality constraints to begin with
$endgroup$
– LinAlg
Jan 8 at 17:53
$begingroup$
yes!the formula to be zero is actually the original constraints were equality constraints,so is my thinking right?
$endgroup$
– electronic component
Jan 9 at 0:58
$begingroup$
why don't you have an objective function in your Lagrangian?
$endgroup$
– LinAlg
Jan 9 at 1:40
$begingroup$
@LinAlg i have added it
$endgroup$
– electronic component
Jan 9 at 4:28
$begingroup$
The KKT conditions also include a stationarity condition (which is the derivative of L with respect to the original optimization variable) and a complementary slackness condition.
$endgroup$
– LinAlg
Jan 9 at 13:40