Originally posted by: JackJackson
The statements: int a=10; int b = srand(a);
sets the random number seed to the same value each time (10).
So you get the same stream of psuedo-random numbers each time.
Change 'a' to a different integer if you want a new stream.
You will then get different input. (Almost every time.)
You should get different output.
#DecisionOptimization#OPLusingCPOptimizer