Find $\operatorname*{arg max}_{i,j_n} f(i,j_n) := \sum_{n=1}^N{(j_n-\lambda i)}$
subject to
$ 0<\lambda<1 $ ($\lambda$ is known)
$ j_n\leq m_n $ ($m_n$ are known $\forall n$ )
$ j_n \leq i $
$i,j_n,m_n$ are non-negative integers.
A possible solution will be $i$ and $j_n$ in terms of $m_n$ and $\lambda$. It is acceptable to have a non-unique solution.
First note that the objective can be simplified to $\sum_{n=1}^N j_n -\lambda N i$. Now sort the $m_j$ into ascending order ($m_1\le m_2 \le \dots \le m_N$). Observe that, for fixed $i$ (and subject to the bound on $j_n$), larger values of $j_n$ are preferable. Similarly, for fixed $j_n$ smaller values of $i$ are preferable. So if $m_K\le i\le m_{K+1}$, we can assume that $i=m_K$ and the solution will be $$ j_{n}=\begin{cases} m_{n} & n\le K\\ m_K & n>k \end{cases} $$with objective value $$\sum_{n=1}^K m_n + (N-K) m_K - \lambda N m_K = \sum_{n=1}^K m_n + \left[\left(1-\lambda\right)N-K\right]m_K.$$
Now consider the change $\Delta$ in objective value if we bump $i$ from $m_K$ to $m_{K+1}$. If my algebra is correct (you should definitely check it), $$\begin{align*} \Delta & =m_{K+1}+\left(1-\lambda\right)N\left(m_{K+1}-m_{K}\right)-(K+1)m_{K+1}+Km_{K}\\ & =\left(m_{K+1}-m_{K}\right)\left[\left(1-\lambda\right)N-K\right] \end{align*}.$$ The left factor is nonnegative courtesy of the sort. The right factor is nonnegative for smaller $K$ (so keep increasing) and nonpositive for larger $K$ (oops, overshot). So $K = \left\lfloor \left(1-\lambda\right)N\right\rfloor $ looks like a winner to me.