Unit constraints are missing multiplication with unit_size (which are deduced from existing unit capacities if no 'virtual_unit_size' is given). This results in wrong coefficients in the user constraint, unless all unit capacities happen to be the same - or if virtual_unit_size has been used.
The issue appeared when model was scaled (to improve computational speed) about a year ago.
Unit constraints are missing multiplication with unit_size (which are deduced from existing unit capacities if no 'virtual_unit_size' is given). This results in wrong coefficients in the user constraint, unless all unit capacities happen to be the same - or if virtual_unit_size has been used.
The issue appeared when model was scaled (to improve computational speed) about a year ago.