diff --git a/tests/framework/Optimizers/GeneticAlgorithms/GA_knapsackBaseTournament.xml b/tests/framework/Optimizers/GeneticAlgorithms/discrete/unconstrained/GA_knapsackBaseTournament.xml similarity index 100% rename from tests/framework/Optimizers/GeneticAlgorithms/GA_knapsackBaseTournament.xml rename to tests/framework/Optimizers/GeneticAlgorithms/discrete/unconstrained/GA_knapsackBaseTournament.xml diff --git a/tests/framework/Optimizers/GeneticAlgorithms/gold/discrete/unconstrained/simpleKnapsack/PrintOptOut_1.csv b/tests/framework/Optimizers/GeneticAlgorithms/gold/discrete/unconstrained/simpleKnapsack/PrintOptOut_1.csv new file mode 100644 index 0000000000..98ee917d89 --- /dev/null +++ b/tests/framework/Optimizers/GeneticAlgorithms/gold/discrete/unconstrained/simpleKnapsack/PrintOptOut_1.csv @@ -0,0 +1,135 @@ +proj1,proj2,proj3,proj4,proj5,proj6,proj7,proj8,proj9,proj10,planValue,validPlan,ProbabilityWeight-proj6,ProbabilityWeight-proj8,ProbabilityWeight-proj4,PointProbability,ProbabilityWeight-proj3,ProbabilityWeight-proj7,ProbabilityWeight-proj9,batchId,ProbabilityWeight,ProbabilityWeight-proj2,ProbabilityWeight-proj10,prefix,ProbabilityWeight-proj1,ProbabilityWeight-proj5 +0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,5,0.0,0.5,0.5,0.5,0.0009765625,0.5,0.5,0.5,1,1,0.5,0.5,1,0.5,0.5 +0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,4,0.0,0.5,0.5,0.5,0.0009765625,0.5,0.5,0.5,1,1,0.5,0.5,1,0.5,0.5 +0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,8,0.0,0.5,0.5,0.5,0.0009765625,0.5,0.5,0.5,1,1,0.5,0.5,1,0.5,0.5 +0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,6,0.0,0.5,0.5,0.5,0.0009765625,0.5,0.5,0.5,1,1,0.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625,0.5,0.5,0.5,5,1,0.5,0.5,5,0.5,0.5 +0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,6,0.0,0.5,0.5,0.5,0.0009765625,0.5,0.5,0.5,5,1,0.5,0.5,5,0.5,0.5 +0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,6,0.0,0.5,0.5,0.5,0.0009765625,0.5,0.5,0.5,5,1,0.5,0.5,5,0.5,0.5 +0.0,0.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0,5,1.0,0.5,0.5,0.5,0.0009765625,0.5,0.5,0.5,5,1,0.5,0.5,5,0.5,0.5 +0.0,0.0,0.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,1,1.0,0.5,0.5,0.5,0.0009765625,0.5,0.5,0.5,5,1,0.5,0.5,5,0.5,0.5 +0.0,0.0,0.0,1.0,0.0,1.0,0.0,0.0,0.0,0.0,4,0.0,0.5,0.5,0.5,0.0009765625,0.5,0.5,0.5,5,1,0.5,0.5,5,0.5,0.5 +0.0,0.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,6,0.0,0.5,0.5,0.5,0.0009765625,0.5,0.5,0.5,5,1,0.5,0.5,5,0.5,0.5 +0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,6,0.0,0.5,0.5,0.5,0.0009765625,0.5,0.5,0.5,5,1,0.5,0.5,5,0.5,0.5 diff --git a/tests/framework/Optimizers/GeneticAlgorithms/gold/discrete/unconstrained/simpleKnapsack/PrintOptOut_export_1.csv b/tests/framework/Optimizers/GeneticAlgorithms/gold/discrete/unconstrained/simpleKnapsack/PrintOptOut_export_1.csv new file mode 100644 index 0000000000..d9b3ce124a --- /dev/null +++ b/tests/framework/Optimizers/GeneticAlgorithms/gold/discrete/unconstrained/simpleKnapsack/PrintOptOut_export_1.csv @@ -0,0 +1,2 @@ +trajID,proj1,proj2,proj3,proj4,proj5,proj6,proj7,proj8,proj9,proj10,planValue +0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,8 diff --git a/tests/framework/Optimizers/GeneticAlgorithms/tests b/tests/framework/Optimizers/GeneticAlgorithms/tests index 1aecf33901..99a26e99eb 100644 --- a/tests/framework/Optimizers/GeneticAlgorithms/tests +++ b/tests/framework/Optimizers/GeneticAlgorithms/tests @@ -135,10 +135,10 @@ [./GA_knapsackBaseTournament] type = 'RavenFramework' - input = 'GA_knapsackBaseTournament.xml' + input = 'discrete/unconstrained/GA_knapsackBaseTournament.xml' [./csv] type = OrderedCSV - output = 'simpleKnapsack/PrintOptOut_export_1.csv simpleKnapsack/PrintOptOut_1.csv' + output = 'discrete/unconstrained/simpleKnapsack/PrintOptOut_export_1.csv discrete/unconstrained/simpleKnapsack/PrintOptOut_1.csv' rel_err = 0.001 [../] [../]