(function from pyomo.solvers.amplfunc_merge)
pyomo.solvers.amplfunc_merge
Merge two AMPLFUNC variable strings eliminating duplicate lines