Population of solutions Problem

When I create a population of solutions from scratch, all individuals in this population are the same.

solutions.add(new InsertionInitialSolutionFactory(iniInsertionStrategy, iniObjFunction).createSolution(vrp));
Always returns the same value.

Please, someone may lead me to a quick fix .

Probably because Jsprit uses the same random seed and thus reproduce the same result. See #156.

For Jsprit algorithm you can change it by .setRandom().

Hi @jie31best
I made sure to remove the seed from the random generator. I also thought the problem was coming from how the unassigned jobs were sorted, but it was also randomly made.
Probably I miss something :slight_smile: