In order to improve the handling of chained inequalities in MILP constraints, it makes sense to have one common base class for LinearFunction and LinearConstraint since that should be the level where the chaining is implemented.
CC: @mkoeppe
Component: numerical
Author: Jeroen Demeyer
Branch: 3782ec2
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/20478