Multivariate convex optimization problem involving logarithms 2 The Next CEO of Stack...

Ising model simulation

How to show a landlord what we have in savings?

Identify and count spells (Distinctive events within each group)

Avoiding the "not like other girls" trope?

Shortening a title without changing its meaning

Why does the freezing point matter when picking cooler ice packs?

logical reads on global temp table, but not on session-level temp table

Is it okay to majorly distort historical facts while writing a fiction story?

How to compactly explain secondary and tertiary characters without resorting to stereotypes?

Why did the Drakh emissary look so blurred in S04:E11 "Lines of Communication"?

What difference does it make matching a word with/without a trailing whitespace?

How can I prove that a state of equilibrium is unstable?

Can you teleport closer to a creature you are Frightened of?

Gödel's incompleteness theorems - what are the religious implications?

Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?

Are British MPs missing the point, with these 'Indicative Votes'?

Strange use of "whether ... than ..." in official text

Mathematica command that allows it to read my intentions

My boss doesn't want me to have a side project

How seriously should I take size and weight limits of hand luggage?

How does a dynamic QR code work?

Prodigo = pro + ago?

Is it "common practice in Fourier transform spectroscopy to multiply the measured interferogram by an apodizing function"? If so, why?

How dangerous is XSS



Multivariate convex optimization problem involving logarithms 2



The Next CEO of Stack OverflowMultivariate convex optimization problem involving logarithmsa problem on optimization having a good lookingThe most efficient algorithm to solve the following problemConstraint to unconstraint optimization problem by subsitutionfunction induced by optimizationIs the optimum of this problem unique?Cross-entropy minimization - equivalent unconstrained optimization problemExtension of convex function to boundaryTransformation of Optimization Problem (LP/QP/MIP)?What is the advantage of adding $log$ Barrier to solve a Linear program?Multivariate convex optimization problem involving logarithms












0












$begingroup$


This is an extension to previous question in Multivariate convex optimization problem involving logarithms. Thanks a lot to David M. for the answer to there. Now, I like to extend the question a little more to include solutions with $a_i=0$ or $b_i=0$.



$$min_{a, b} sum_{i=1}^K b_i I(a_i>0, b_i>0)f(frac{a_i}{b_i}) $$



s.t.
$$ f(x) = (1+x) log(1+x) -log(x) - (1+x) log(2)$$



$$ sum_{i=1}^K a_i = 1.$$



$$ sum_{i=1}^K b_i = 1.$$



$$ a,bgeq 0. $$



$I(a_i>0, b_i>0)$ is indicator function i.e. it is 1 when ($a_i>0$ and $b_i>0$) and $0$ otherwise.



I believe the answer to the question is the set of (a,b) s.t. $sum_{i=1}^K a_i = sum_{i=1}^K b_i = 1$ and $a_i=b_i$ for all $i$. I just wanted to make sure if I am correct.










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    This is an extension to previous question in Multivariate convex optimization problem involving logarithms. Thanks a lot to David M. for the answer to there. Now, I like to extend the question a little more to include solutions with $a_i=0$ or $b_i=0$.



    $$min_{a, b} sum_{i=1}^K b_i I(a_i>0, b_i>0)f(frac{a_i}{b_i}) $$



    s.t.
    $$ f(x) = (1+x) log(1+x) -log(x) - (1+x) log(2)$$



    $$ sum_{i=1}^K a_i = 1.$$



    $$ sum_{i=1}^K b_i = 1.$$



    $$ a,bgeq 0. $$



    $I(a_i>0, b_i>0)$ is indicator function i.e. it is 1 when ($a_i>0$ and $b_i>0$) and $0$ otherwise.



    I believe the answer to the question is the set of (a,b) s.t. $sum_{i=1}^K a_i = sum_{i=1}^K b_i = 1$ and $a_i=b_i$ for all $i$. I just wanted to make sure if I am correct.










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      This is an extension to previous question in Multivariate convex optimization problem involving logarithms. Thanks a lot to David M. for the answer to there. Now, I like to extend the question a little more to include solutions with $a_i=0$ or $b_i=0$.



      $$min_{a, b} sum_{i=1}^K b_i I(a_i>0, b_i>0)f(frac{a_i}{b_i}) $$



      s.t.
      $$ f(x) = (1+x) log(1+x) -log(x) - (1+x) log(2)$$



      $$ sum_{i=1}^K a_i = 1.$$



      $$ sum_{i=1}^K b_i = 1.$$



      $$ a,bgeq 0. $$



      $I(a_i>0, b_i>0)$ is indicator function i.e. it is 1 when ($a_i>0$ and $b_i>0$) and $0$ otherwise.



      I believe the answer to the question is the set of (a,b) s.t. $sum_{i=1}^K a_i = sum_{i=1}^K b_i = 1$ and $a_i=b_i$ for all $i$. I just wanted to make sure if I am correct.










      share|cite|improve this question









      $endgroup$




      This is an extension to previous question in Multivariate convex optimization problem involving logarithms. Thanks a lot to David M. for the answer to there. Now, I like to extend the question a little more to include solutions with $a_i=0$ or $b_i=0$.



      $$min_{a, b} sum_{i=1}^K b_i I(a_i>0, b_i>0)f(frac{a_i}{b_i}) $$



      s.t.
      $$ f(x) = (1+x) log(1+x) -log(x) - (1+x) log(2)$$



      $$ sum_{i=1}^K a_i = 1.$$



      $$ sum_{i=1}^K b_i = 1.$$



      $$ a,bgeq 0. $$



      $I(a_i>0, b_i>0)$ is indicator function i.e. it is 1 when ($a_i>0$ and $b_i>0$) and $0$ otherwise.



      I believe the answer to the question is the set of (a,b) s.t. $sum_{i=1}^K a_i = sum_{i=1}^K b_i = 1$ and $a_i=b_i$ for all $i$. I just wanted to make sure if I am correct.







      optimization convex-analysis






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Mar 18 at 3:24









      kkokko

      186




      186






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          Yes I think you're correct. Note that your function $f$ satisfies $f(t)geq0$ for all $t>0$, with $f(t)=0$ if and only if $t=1$. Hence, your objective function (let's call it $g$) satisfies $g(a,b)geq0$ for all $a,b>0$, with $g(a,b)=0$ if and only if $aequiv{b}$.



          You can just eliminate all the edge cases explicitly:




          1. If $a_i=0$ and $b_i>0$, then $b_icdot f(a_i/b_i)=b_icdot f(0)$, which isn't defined. However, $lim_{tto0}f(t)=infty$, so the most sensible thing to do it interpret $f(a_i/b_i)=f(0)=infty$, which obviously isn't the minimizer.

          2. If $a_i>0$ and $b_i=0$, then $f(a_i/b_i)=f(a_i/0)$ which isn't defined. If we again do the sensible thing, we will define the objective function so that
            $$
            0cdot f(a_i/0)=lim_{tto0}tcdot fbig(frac{a_i}{t}big)=infty,
            $$

            again obviously not the minimizer.

          3. Finally, if $a_i=b_i=0$, then $b_icdot f(a_i/b_i)=0cdot f(0/0)$. Again, doing the sensible thing,
            $$
            0cdot f(0/0)=lim_{tto0}tcdot{fbig(frac{t}{t}big)}=f(1)cdotlim_{tto0}t=0.
            $$



          Hence, the optimal set is indeed ${a,bgeq0;|;aequiv{b},{1}^text{T}a=1}$.






          share|cite|improve this answer









          $endgroup$














            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%2f3152370%2fmultivariate-convex-optimization-problem-involving-logarithms-2%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$

            Yes I think you're correct. Note that your function $f$ satisfies $f(t)geq0$ for all $t>0$, with $f(t)=0$ if and only if $t=1$. Hence, your objective function (let's call it $g$) satisfies $g(a,b)geq0$ for all $a,b>0$, with $g(a,b)=0$ if and only if $aequiv{b}$.



            You can just eliminate all the edge cases explicitly:




            1. If $a_i=0$ and $b_i>0$, then $b_icdot f(a_i/b_i)=b_icdot f(0)$, which isn't defined. However, $lim_{tto0}f(t)=infty$, so the most sensible thing to do it interpret $f(a_i/b_i)=f(0)=infty$, which obviously isn't the minimizer.

            2. If $a_i>0$ and $b_i=0$, then $f(a_i/b_i)=f(a_i/0)$ which isn't defined. If we again do the sensible thing, we will define the objective function so that
              $$
              0cdot f(a_i/0)=lim_{tto0}tcdot fbig(frac{a_i}{t}big)=infty,
              $$

              again obviously not the minimizer.

            3. Finally, if $a_i=b_i=0$, then $b_icdot f(a_i/b_i)=0cdot f(0/0)$. Again, doing the sensible thing,
              $$
              0cdot f(0/0)=lim_{tto0}tcdot{fbig(frac{t}{t}big)}=f(1)cdotlim_{tto0}t=0.
              $$



            Hence, the optimal set is indeed ${a,bgeq0;|;aequiv{b},{1}^text{T}a=1}$.






            share|cite|improve this answer









            $endgroup$


















              1












              $begingroup$

              Yes I think you're correct. Note that your function $f$ satisfies $f(t)geq0$ for all $t>0$, with $f(t)=0$ if and only if $t=1$. Hence, your objective function (let's call it $g$) satisfies $g(a,b)geq0$ for all $a,b>0$, with $g(a,b)=0$ if and only if $aequiv{b}$.



              You can just eliminate all the edge cases explicitly:




              1. If $a_i=0$ and $b_i>0$, then $b_icdot f(a_i/b_i)=b_icdot f(0)$, which isn't defined. However, $lim_{tto0}f(t)=infty$, so the most sensible thing to do it interpret $f(a_i/b_i)=f(0)=infty$, which obviously isn't the minimizer.

              2. If $a_i>0$ and $b_i=0$, then $f(a_i/b_i)=f(a_i/0)$ which isn't defined. If we again do the sensible thing, we will define the objective function so that
                $$
                0cdot f(a_i/0)=lim_{tto0}tcdot fbig(frac{a_i}{t}big)=infty,
                $$

                again obviously not the minimizer.

              3. Finally, if $a_i=b_i=0$, then $b_icdot f(a_i/b_i)=0cdot f(0/0)$. Again, doing the sensible thing,
                $$
                0cdot f(0/0)=lim_{tto0}tcdot{fbig(frac{t}{t}big)}=f(1)cdotlim_{tto0}t=0.
                $$



              Hence, the optimal set is indeed ${a,bgeq0;|;aequiv{b},{1}^text{T}a=1}$.






              share|cite|improve this answer









              $endgroup$
















                1












                1








                1





                $begingroup$

                Yes I think you're correct. Note that your function $f$ satisfies $f(t)geq0$ for all $t>0$, with $f(t)=0$ if and only if $t=1$. Hence, your objective function (let's call it $g$) satisfies $g(a,b)geq0$ for all $a,b>0$, with $g(a,b)=0$ if and only if $aequiv{b}$.



                You can just eliminate all the edge cases explicitly:




                1. If $a_i=0$ and $b_i>0$, then $b_icdot f(a_i/b_i)=b_icdot f(0)$, which isn't defined. However, $lim_{tto0}f(t)=infty$, so the most sensible thing to do it interpret $f(a_i/b_i)=f(0)=infty$, which obviously isn't the minimizer.

                2. If $a_i>0$ and $b_i=0$, then $f(a_i/b_i)=f(a_i/0)$ which isn't defined. If we again do the sensible thing, we will define the objective function so that
                  $$
                  0cdot f(a_i/0)=lim_{tto0}tcdot fbig(frac{a_i}{t}big)=infty,
                  $$

                  again obviously not the minimizer.

                3. Finally, if $a_i=b_i=0$, then $b_icdot f(a_i/b_i)=0cdot f(0/0)$. Again, doing the sensible thing,
                  $$
                  0cdot f(0/0)=lim_{tto0}tcdot{fbig(frac{t}{t}big)}=f(1)cdotlim_{tto0}t=0.
                  $$



                Hence, the optimal set is indeed ${a,bgeq0;|;aequiv{b},{1}^text{T}a=1}$.






                share|cite|improve this answer









                $endgroup$



                Yes I think you're correct. Note that your function $f$ satisfies $f(t)geq0$ for all $t>0$, with $f(t)=0$ if and only if $t=1$. Hence, your objective function (let's call it $g$) satisfies $g(a,b)geq0$ for all $a,b>0$, with $g(a,b)=0$ if and only if $aequiv{b}$.



                You can just eliminate all the edge cases explicitly:




                1. If $a_i=0$ and $b_i>0$, then $b_icdot f(a_i/b_i)=b_icdot f(0)$, which isn't defined. However, $lim_{tto0}f(t)=infty$, so the most sensible thing to do it interpret $f(a_i/b_i)=f(0)=infty$, which obviously isn't the minimizer.

                2. If $a_i>0$ and $b_i=0$, then $f(a_i/b_i)=f(a_i/0)$ which isn't defined. If we again do the sensible thing, we will define the objective function so that
                  $$
                  0cdot f(a_i/0)=lim_{tto0}tcdot fbig(frac{a_i}{t}big)=infty,
                  $$

                  again obviously not the minimizer.

                3. Finally, if $a_i=b_i=0$, then $b_icdot f(a_i/b_i)=0cdot f(0/0)$. Again, doing the sensible thing,
                  $$
                  0cdot f(0/0)=lim_{tto0}tcdot{fbig(frac{t}{t}big)}=f(1)cdotlim_{tto0}t=0.
                  $$



                Hence, the optimal set is indeed ${a,bgeq0;|;aequiv{b},{1}^text{T}a=1}$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Mar 18 at 17:11









                David M.David M.

                2,188421




                2,188421






























                    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%2f3152370%2fmultivariate-convex-optimization-problem-involving-logarithms-2%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

                    Nidaros erkebispedøme

                    Birsay

                    Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?