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,b\geq 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.
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 $a\equiv{b}$.
You can just eliminate all the edge cases explicitly:
Hence, the optimal set is indeed $\{a,b\geq0\;|\;a\equiv{b},{1}^\text{T}a=1\}$.