In reply to ChyavanPhadke:
Hi, you can use the post_randomize method. Every time you write a constraint, you will add one more, which will ensure that rand variables are not equal to variables that are not rand and are holding previous randomized values.