Let's say that we have a discrete probability distribution, where
$$ x_i $$ represents each of the possible outcomes (discrete set of possible outcomes), and
$$ L $$ represents the expected value we want to achieve, by manipulating the original probability distribution (keeping the same values of x_i, but adjusting the corresponding probabilities.
To do so, I am asked to use an optimization method, while implementing the two following restrictions,
$$ \Delta P(x_i) = \alpha /(x_i - L) $$
$$ \Delta \sum_{i=-n}^{n} P(x_i) = 0 $$
How should I interpret the above restrictions, so I can implement them computationally?