Mixed array randomization constraint

In reply to Anudeep J:

That’s not what I wanted. I wanted max 25 ones in the whole table, your constraint makes it 25 ones per dimension.