Linear programming
You must put the new restriction and then delete the old one.
Information: Linear programming