What is the complexity of and how to go about solving the following task?
Given $a, b \in \mathbb{R}_+^n$ and $n \ge k\in\mathbb{N}$, find
$$ x_{\min} := \arg \min_{x \in \lbrace 0,1 \rbrace^n, x^T x = k} \frac{x^Ta}{x^Tb} $$
What is the complexity of and how to go about solving the following task?
Given $a, b \in \mathbb{R}_+^n$ and $n \ge k\in\mathbb{N}$, find
$$ x_{\min} := \arg \min_{x \in \lbrace 0,1 \rbrace^n, x^T x = k} \frac{x^Ta}{x^Tb} $$
Take a look at this question: Optimization algorithm sought, and its answer by David Eppstein.
This is the way I understand it. The first part in that comes from Dinkelbach's theorem on fractional optimization. The second part is just geometry of lines in 2D, followed by a golden section search.