Randomisation and Constraints

In reply to dave_59:
Thank you sir, got the answer.