diff --git a/JobShopScheduling/Config.cs b/JobShopScheduling/Config.cs index 75e1d60..43743fc 100644 --- a/JobShopScheduling/Config.cs +++ b/JobShopScheduling/Config.cs @@ -65,7 +65,7 @@ public Config(bool initializeDefaultValues) MutationProbability = 0.3f; CrossoverProbability = 0.75f; // mutate 2 times per solution - InversionMutationPerGeneProbability = 0.5f / MachinesCount; + InversionMutationPerGeneProbability = 0.05f; ElitismPercent = 0.02f; TournamentSelectionProbability = 0.8f; diff --git a/JobShopScheduling/Program.cs b/JobShopScheduling/Program.cs index 9d5f16a..f43011e 100644 --- a/JobShopScheduling/Program.cs +++ b/JobShopScheduling/Program.cs @@ -23,7 +23,6 @@ private static void Main(string[] args) JobShop jobShop = LoadJobShop(inputPath); //JobShop jobShop = GenerateJobShop(); - Global.Config.InversionMutationPerGeneProbability = 0.5f / jobShop.MachinesCount; var plottingUtils = new PlottingHelper();