max_x log(1+ax/(bx+c)) - q(dx+e), where a, b, c, d, e, q are all non-negative.
How to make the following concave function to fit cvx?
Hi, yesterday I made it by converting
log(1+ax/(bx+c)) - q(dx+e)
to
log(1+ a/b-(ac/b)*inv_pos(bx+c)) - q(dx+e).
But today it doesn’t work again…
the error is
Disciplined convex programming error:
Cannot perform the operation: {positive constant} .* {positive constant}
This requires a*c/b >= 0.
If that doesn’t resolve it, please show a complete, but minimal reproducible example, with all input data.
And please include all * in your program, i.e., actual code, not math for display with implied * .