In this case, the shop want to maximise the profit that is there $n$ products the shop can procure, but the shop only has $w$ budget. The cost of each product $x_i$ is $c_i$.
I used prediction model and predict each product $x_i$ will have total $N_i$ sales in the future 10 days. The selling price of each product $x_i$ is $s_i$.
So, I give the objective function $f$:
$$ max f=\sum_{i}^{n}(s_i - c_i)x_i \\ s.t.\\ x_i \in Z \\ \sum_{i}^{n} c_ix_i \leq w \\ x_i \leq N_i\\ i = 1,2, ..., n $$
where $n$, $w$, $s_i$, $c_i$ and $N_i$ are all constants.
I want to solve this integer programming by python. But what I find online is more about linear programming. Is there any friendly Python package solver?