You are trying to pay $n$ people. Each person $i \in \{1, \ldots, n\}$ has an expected minimum wage $w_i > 0$ and a quality $q_i > 0$. Denote the payment for each person as $p_i$.
We require:
(1) Each person must be paid at least their expected minimum wage.
(2) For each pair of people, the ratio of their payments must be equal to the ratio of their qualities, i.e., $\frac{p_i}{p_j} = \frac{q_i}{q_j} \ \ \forall i \neq j \in\{1,2\ldots, n\} $.
We want to minimize $\sum_i p_i$ subject to the above 2 questions.
My question is do these conditions ensure that at least 1 person will be paid their minimum wage? And if so, how do we determine who that person/people is/are?