Where am I making a mistake in my calculation ( deriving the dual form from the inequality )
I'm trying to do the derivation for the second problem on the page 13(slide 12) of this pdf : http://www.seas.ucla.edu/~vandenbe/ee236a/lectures/duality.pdf
I'm using Fenchel-Rockafellar duality. If we let $A$ from $X$ to $Y$, ( $(X,W)$ and $(Y,Z)$ are pairs hence $((X,Y),(W,Z))$ is a dual pair) and
$$f(x)=c^{T}x+delta_{R_{+}^{n}}(x)$$
$$g(y)=delta_{R_{+}^{n}}(y)$$
then $f^star(w)=delta_{R_{+}^{n}}(c-w)$ and $g^star(z)=b^{T}z$ then the duality will be $sup-{delta_{R_{+}^{n}}(c+A^star z)+b^{T}z}$ according to the Fenchel-Rockafellar duality. But how I read this is maximimize $-b^{T}z$ subject to $c+A^star zgeq 0$ which is not similar to the given duality. What am I doing wrong?
I'm using this pdf as a source https://people.math.ethz.ch/~patrickc/CA2013.pdf . You can find the definition I'm using from this pdf or Ican write them if needed.
convex-optimization linear-programming duality-theorems
add a comment |
I'm trying to do the derivation for the second problem on the page 13(slide 12) of this pdf : http://www.seas.ucla.edu/~vandenbe/ee236a/lectures/duality.pdf
I'm using Fenchel-Rockafellar duality. If we let $A$ from $X$ to $Y$, ( $(X,W)$ and $(Y,Z)$ are pairs hence $((X,Y),(W,Z))$ is a dual pair) and
$$f(x)=c^{T}x+delta_{R_{+}^{n}}(x)$$
$$g(y)=delta_{R_{+}^{n}}(y)$$
then $f^star(w)=delta_{R_{+}^{n}}(c-w)$ and $g^star(z)=b^{T}z$ then the duality will be $sup-{delta_{R_{+}^{n}}(c+A^star z)+b^{T}z}$ according to the Fenchel-Rockafellar duality. But how I read this is maximimize $-b^{T}z$ subject to $c+A^star zgeq 0$ which is not similar to the given duality. What am I doing wrong?
I'm using this pdf as a source https://people.math.ethz.ch/~patrickc/CA2013.pdf . You can find the definition I'm using from this pdf or Ican write them if needed.
convex-optimization linear-programming duality-theorems
Does the dual problem given on slide 2 not directly apply to the example on slide 13?
– littleO
Dec 26 at 16:22
I just started to study this stuff i don't know how it exactly works. When i use the same method on the dual problem given on slide 2 i get the same exact thing when i take the conjugates and stuff. But for the problem on slide 13 if what you said is the approach then why do i need to apply the same stuff twice? @littleO
– dankmemer
Dec 26 at 16:28
On slide 13 one of the primal variables is $t$, but I don't see $t$ in the work you've shown. Where's $t$?
– littleO
Dec 26 at 16:36
oops i when i said page 13 i meant page 13 of the pdf, it corresponds to slide 12
– dankmemer
Dec 26 at 16:40
add a comment |
I'm trying to do the derivation for the second problem on the page 13(slide 12) of this pdf : http://www.seas.ucla.edu/~vandenbe/ee236a/lectures/duality.pdf
I'm using Fenchel-Rockafellar duality. If we let $A$ from $X$ to $Y$, ( $(X,W)$ and $(Y,Z)$ are pairs hence $((X,Y),(W,Z))$ is a dual pair) and
$$f(x)=c^{T}x+delta_{R_{+}^{n}}(x)$$
$$g(y)=delta_{R_{+}^{n}}(y)$$
then $f^star(w)=delta_{R_{+}^{n}}(c-w)$ and $g^star(z)=b^{T}z$ then the duality will be $sup-{delta_{R_{+}^{n}}(c+A^star z)+b^{T}z}$ according to the Fenchel-Rockafellar duality. But how I read this is maximimize $-b^{T}z$ subject to $c+A^star zgeq 0$ which is not similar to the given duality. What am I doing wrong?
I'm using this pdf as a source https://people.math.ethz.ch/~patrickc/CA2013.pdf . You can find the definition I'm using from this pdf or Ican write them if needed.
convex-optimization linear-programming duality-theorems
I'm trying to do the derivation for the second problem on the page 13(slide 12) of this pdf : http://www.seas.ucla.edu/~vandenbe/ee236a/lectures/duality.pdf
I'm using Fenchel-Rockafellar duality. If we let $A$ from $X$ to $Y$, ( $(X,W)$ and $(Y,Z)$ are pairs hence $((X,Y),(W,Z))$ is a dual pair) and
$$f(x)=c^{T}x+delta_{R_{+}^{n}}(x)$$
$$g(y)=delta_{R_{+}^{n}}(y)$$
then $f^star(w)=delta_{R_{+}^{n}}(c-w)$ and $g^star(z)=b^{T}z$ then the duality will be $sup-{delta_{R_{+}^{n}}(c+A^star z)+b^{T}z}$ according to the Fenchel-Rockafellar duality. But how I read this is maximimize $-b^{T}z$ subject to $c+A^star zgeq 0$ which is not similar to the given duality. What am I doing wrong?
I'm using this pdf as a source https://people.math.ethz.ch/~patrickc/CA2013.pdf . You can find the definition I'm using from this pdf or Ican write them if needed.
convex-optimization linear-programming duality-theorems
convex-optimization linear-programming duality-theorems
edited Dec 26 at 16:40
asked Dec 26 at 16:10
dankmemer
149112
149112
Does the dual problem given on slide 2 not directly apply to the example on slide 13?
– littleO
Dec 26 at 16:22
I just started to study this stuff i don't know how it exactly works. When i use the same method on the dual problem given on slide 2 i get the same exact thing when i take the conjugates and stuff. But for the problem on slide 13 if what you said is the approach then why do i need to apply the same stuff twice? @littleO
– dankmemer
Dec 26 at 16:28
On slide 13 one of the primal variables is $t$, but I don't see $t$ in the work you've shown. Where's $t$?
– littleO
Dec 26 at 16:36
oops i when i said page 13 i meant page 13 of the pdf, it corresponds to slide 12
– dankmemer
Dec 26 at 16:40
add a comment |
Does the dual problem given on slide 2 not directly apply to the example on slide 13?
– littleO
Dec 26 at 16:22
I just started to study this stuff i don't know how it exactly works. When i use the same method on the dual problem given on slide 2 i get the same exact thing when i take the conjugates and stuff. But for the problem on slide 13 if what you said is the approach then why do i need to apply the same stuff twice? @littleO
– dankmemer
Dec 26 at 16:28
On slide 13 one of the primal variables is $t$, but I don't see $t$ in the work you've shown. Where's $t$?
– littleO
Dec 26 at 16:36
oops i when i said page 13 i meant page 13 of the pdf, it corresponds to slide 12
– dankmemer
Dec 26 at 16:40
Does the dual problem given on slide 2 not directly apply to the example on slide 13?
– littleO
Dec 26 at 16:22
Does the dual problem given on slide 2 not directly apply to the example on slide 13?
– littleO
Dec 26 at 16:22
I just started to study this stuff i don't know how it exactly works. When i use the same method on the dual problem given on slide 2 i get the same exact thing when i take the conjugates and stuff. But for the problem on slide 13 if what you said is the approach then why do i need to apply the same stuff twice? @littleO
– dankmemer
Dec 26 at 16:28
I just started to study this stuff i don't know how it exactly works. When i use the same method on the dual problem given on slide 2 i get the same exact thing when i take the conjugates and stuff. But for the problem on slide 13 if what you said is the approach then why do i need to apply the same stuff twice? @littleO
– dankmemer
Dec 26 at 16:28
On slide 13 one of the primal variables is $t$, but I don't see $t$ in the work you've shown. Where's $t$?
– littleO
Dec 26 at 16:36
On slide 13 one of the primal variables is $t$, but I don't see $t$ in the work you've shown. Where's $t$?
– littleO
Dec 26 at 16:36
oops i when i said page 13 i meant page 13 of the pdf, it corresponds to slide 12
– dankmemer
Dec 26 at 16:40
oops i when i said page 13 i meant page 13 of the pdf, it corresponds to slide 12
– dankmemer
Dec 26 at 16:40
add a comment |
1 Answer
1
active
oldest
votes
Let $y = -z$. Then the dual problem you derived can be written as maximizing $b^T y$ subject to $A^T y leq c$. This agrees with the dual problem shown on slide 12.
By the way, the Cheridito lecture notes you linked to look quite good, but Vandenberghe's lecture notes are self-contained. In this case you can derive the dual problem by first converting the primal problem to inequality form and then applying the result on slide 2.
You might also consider reading chapter 5 of the Boyd and Vandenberghe Convex Optimization textbook (which is free online). It gives a simple explanation of Lagrange duality, which is an easy way to derive the dual problem shown on slide 2. (Not that there is anything wrong with the Fenchel duality approach; it's also very useful.)
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%2f3053072%2fwhere-am-i-making-a-mistake-in-my-calculation-deriving-the-dual-form-from-the%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
Let $y = -z$. Then the dual problem you derived can be written as maximizing $b^T y$ subject to $A^T y leq c$. This agrees with the dual problem shown on slide 12.
By the way, the Cheridito lecture notes you linked to look quite good, but Vandenberghe's lecture notes are self-contained. In this case you can derive the dual problem by first converting the primal problem to inequality form and then applying the result on slide 2.
You might also consider reading chapter 5 of the Boyd and Vandenberghe Convex Optimization textbook (which is free online). It gives a simple explanation of Lagrange duality, which is an easy way to derive the dual problem shown on slide 2. (Not that there is anything wrong with the Fenchel duality approach; it's also very useful.)
add a comment |
Let $y = -z$. Then the dual problem you derived can be written as maximizing $b^T y$ subject to $A^T y leq c$. This agrees with the dual problem shown on slide 12.
By the way, the Cheridito lecture notes you linked to look quite good, but Vandenberghe's lecture notes are self-contained. In this case you can derive the dual problem by first converting the primal problem to inequality form and then applying the result on slide 2.
You might also consider reading chapter 5 of the Boyd and Vandenberghe Convex Optimization textbook (which is free online). It gives a simple explanation of Lagrange duality, which is an easy way to derive the dual problem shown on slide 2. (Not that there is anything wrong with the Fenchel duality approach; it's also very useful.)
add a comment |
Let $y = -z$. Then the dual problem you derived can be written as maximizing $b^T y$ subject to $A^T y leq c$. This agrees with the dual problem shown on slide 12.
By the way, the Cheridito lecture notes you linked to look quite good, but Vandenberghe's lecture notes are self-contained. In this case you can derive the dual problem by first converting the primal problem to inequality form and then applying the result on slide 2.
You might also consider reading chapter 5 of the Boyd and Vandenberghe Convex Optimization textbook (which is free online). It gives a simple explanation of Lagrange duality, which is an easy way to derive the dual problem shown on slide 2. (Not that there is anything wrong with the Fenchel duality approach; it's also very useful.)
Let $y = -z$. Then the dual problem you derived can be written as maximizing $b^T y$ subject to $A^T y leq c$. This agrees with the dual problem shown on slide 12.
By the way, the Cheridito lecture notes you linked to look quite good, but Vandenberghe's lecture notes are self-contained. In this case you can derive the dual problem by first converting the primal problem to inequality form and then applying the result on slide 2.
You might also consider reading chapter 5 of the Boyd and Vandenberghe Convex Optimization textbook (which is free online). It gives a simple explanation of Lagrange duality, which is an easy way to derive the dual problem shown on slide 2. (Not that there is anything wrong with the Fenchel duality approach; it's also very useful.)
edited Dec 27 at 2:31
answered Dec 26 at 16:46
littleO
29.2k644108
29.2k644108
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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%2f3053072%2fwhere-am-i-making-a-mistake-in-my-calculation-deriving-the-dual-form-from-the%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
Does the dual problem given on slide 2 not directly apply to the example on slide 13?
– littleO
Dec 26 at 16:22
I just started to study this stuff i don't know how it exactly works. When i use the same method on the dual problem given on slide 2 i get the same exact thing when i take the conjugates and stuff. But for the problem on slide 13 if what you said is the approach then why do i need to apply the same stuff twice? @littleO
– dankmemer
Dec 26 at 16:28
On slide 13 one of the primal variables is $t$, but I don't see $t$ in the work you've shown. Where's $t$?
– littleO
Dec 26 at 16:36
oops i when i said page 13 i meant page 13 of the pdf, it corresponds to slide 12
– dankmemer
Dec 26 at 16:40