Some updates: now I have achieved this for the tested problems. and “almost” achieved that the solution does not change when I increase the proportion of the jobs on which I define INTER_ROUTE or INTRA_ROUTE dependency type (by “almost” I mean for 5 out of 7 tested problems). Please find at the end the test results.
What I have done:
-
fix the above bug;
-
add this part of comparing job ids when two jobs have the same score to fast regret;
-
deactivate the insertion noise by set INSERTION_NOISE_PROB to a negative value.
So back to the question I asked at the beginning, it is expected apparently. Now my new questions is, for the two problems where the solution still changes when I increase the proportion of the jobs with dependency type after I make the above changes to the code, why? and is it expected?
Best regards,
He