PROPORTION special case

should we still choose a solution in which one of the bottle become empty but it still has the max sum

Yes, you should because ultimately you have to minimize the maximum amount of liquid in bottle of any color.