Fractional program

How to use cvx for solving objective function like max x1/x2, where x1 and x2 are functions of same variables but are independent of each other.
Do needful.

If that is a linear fractional form, you can handle the problem per section 4.3.2 “Linear-fractional programming” of “Convex Optimization” by Boyd and Vandenberghe https://web.stanford.edu/~boyd/cvxbook/

Some situations. ,such as quad over linear, can be handled directly by CVX, in that case using quad_over_lin.

If it’s not linear fractional, but is still quasi-convex, perhaps you can still use bisection. It’s up to you to prove quasi-convexity.

Before proceeding further, please carefully read Why isn't CVX accepting my model? READ THIS FIRST! .

1 Like