better handling of linear equality constraints (using the elimination method) (part 1)