Python primal pivots (saveWeights)