This ticket adds add_constraint and add_row methods.
Following the suggestion at
#18805 comment:27
these methods create new problems / dictionaries, leaving the original ones unmodified.
(Split out from the larger ticket #18805.)
Depends on #20500
CC: @novoselt @pgxiao
Component: linear programming
Author: Peijun Xiao, Matthias Koeppe, Andrey Novoseltsev
Branch/Commit: c8559f3
Reviewer: Andrey Novoseltsev
Issue created by migration from https://trac.sagemath.org/ticket/20559