org.drools.planner.examples.curriculumcourse.benchmark.curriculumCourseSolverBenchmarkConfig.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of drools-planner-examples Show documentation
Show all versions of drools-planner-examples Show documentation
Drools Planner optimizes automated planning by combining metaheuristic search algorithms with rule
engine powered score calculation. This is the drools-planner-examples module which contains examples on how to use
Drools Planner.
<?xml version="1.0" encoding="UTF-8"?> <solverBenchmarkSuite> <benchmarkDirectory>local/data/curriculumcourse</benchmarkDirectory> <solverStatisticType>BEST_SOLUTION_CHANGED</solverStatisticType> <warmUpSecondsSpend>30</warmUpSecondsSpend> <inheritedSolverBenchmark> <unsolvedSolutionFile>data/curriculumcourse/unsolved/comp01.xml</unsolvedSolutionFile> <unsolvedSolutionFile>data/curriculumcourse/unsolved/comp02.xml</unsolvedSolutionFile> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp03.xml</unsolvedSolutionFile>--> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp04.xml</unsolvedSolutionFile>--> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp05.xml</unsolvedSolutionFile>--> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp06.xml</unsolvedSolutionFile>--> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp07.xml</unsolvedSolutionFile>--> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp08.xml</unsolvedSolutionFile>--> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp09.xml</unsolvedSolutionFile>--> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp10.xml</unsolvedSolutionFile>--> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp11.xml</unsolvedSolutionFile>--> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp12.xml</unsolvedSolutionFile>--> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp13.xml</unsolvedSolutionFile>--> <!--<unsolvedSolutionFile>data/curriculumcourse/unsolved/comp14.xml</unsolvedSolutionFile>--> <solver> <solutionClass>org.drools.planner.examples.curriculumcourse.domain.CurriculumCourseSchedule</solutionClass> <planningEntityClass>org.drools.planner.examples.curriculumcourse.domain.Lecture</planningEntityClass> <scoreDrl>/org/drools/planner/examples/curriculumcourse/solver/curriculumCourseScoreRules.drl</scoreDrl> <scoreDefinition> <scoreDefinitionType>HARD_AND_SOFT</scoreDefinitionType> </scoreDefinition> <!--<termination>--> <!--<!–--> <!--Official benchmark maximumSecondsSpend allowed on:--> <!--ge0ffrey's main pc: 429--> <!--ge0ffrey's old pc: 1152--> <!--–>--> <!--<maximumSecondsSpend>429</maximumSecondsSpend>--> <!--</termination>--> <!--<constructionHeuristic>--> <!--<constructionHeuristicType>FIRST_FIT_DECREASING</constructionHeuristicType>--> <!--</constructionHeuristic>--> </solver> </inheritedSolverBenchmark> <solverBenchmark> <name>FIRST_FIT</name> <solver> <constructionHeuristic> <constructionHeuristicType>FIRST_FIT</constructionHeuristicType> </constructionHeuristic> </solver> </solverBenchmark> <solverBenchmark> <name>FIRST_FIT_pickEarly</name> <solver> <constructionHeuristic> <constructionHeuristicType>FIRST_FIT</constructionHeuristicType> <constructionHeuristicPickEarlyType>FIRST_LAST_STEP_SCORE_EQUAL_OR_IMPROVING</constructionHeuristicPickEarlyType> </constructionHeuristic> </solver> </solverBenchmark> <solverBenchmark> <name>FIRST_FIT_DECREASING</name> <solver> <constructionHeuristic> <constructionHeuristicType>FIRST_FIT_DECREASING</constructionHeuristicType> </constructionHeuristic> </solver> </solverBenchmark> <solverBenchmark> <name>FIRST_FIT_DECREASING_pickEarly</name> <solver> <constructionHeuristic> <constructionHeuristicType>FIRST_FIT_DECREASING</constructionHeuristicType> <constructionHeuristicPickEarlyType>FIRST_LAST_STEP_SCORE_EQUAL_OR_IMPROVING</constructionHeuristicPickEarlyType> </constructionHeuristic> </solver> </solverBenchmark> <solverBenchmark> <name>BEST_FIT</name> <solver> <constructionHeuristic> <constructionHeuristicType>BEST_FIT</constructionHeuristicType> </constructionHeuristic> </solver> </solverBenchmark> <solverBenchmark> <name>BEST_FIT_pickEarly</name> <solver> <constructionHeuristic> <constructionHeuristicType>BEST_FIT</constructionHeuristicType> <constructionHeuristicPickEarlyType>FIRST_LAST_STEP_SCORE_EQUAL_OR_IMPROVING</constructionHeuristicPickEarlyType> </constructionHeuristic> </solver> </solverBenchmark> <solverBenchmark> <name>BEST_FIT_DECREASING</name> <solver> <constructionHeuristic> <constructionHeuristicType>BEST_FIT_DECREASING</constructionHeuristicType> </constructionHeuristic> </solver> </solverBenchmark> <solverBenchmark> <name>BEST_FIT_DECREASING_pickEarly</name> <solver> <constructionHeuristic> <constructionHeuristicType>BEST_FIT_DECREASING</constructionHeuristicType> <constructionHeuristicPickEarlyType>FIRST_LAST_STEP_SCORE_EQUAL_OR_IMPROVING</constructionHeuristicPickEarlyType> </constructionHeuristic> </solver> </solverBenchmark> <!--<solverBenchmark>--> <!--<name>propertyTabu10</name>--> <!--<solver>--> <!--<localSearch>--> <!--<termination>--> <!--<!–<maximumMinutesSpend>6</maximumMinutesSpend>–>--> <!--<maximumSecondsSpend>30</maximumSecondsSpend>--> <!--</termination>--> <!--<selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.PeriodChangeMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.RoomChangeMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.LectureSwitchMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--</selector>--> <!--<acceptor>--> <!--<completePropertyTabuSize>10</completePropertyTabuSize>--> <!--<completeSolutionTabuSize>1500</completeSolutionTabuSize>--> <!--</acceptor>--> <!--<forager>--> <!--<minimalAcceptedSelection>900</minimalAcceptedSelection><!– TODO tweak me –>--> <!--</forager>--> <!--</localSearch>--> <!--</solver>--> <!--</solverBenchmark>--> <!--<solverBenchmark>--> <!--<name>simulatedAnnealing100</name>--> <!--<solver>--> <!--<localSearch>--> <!--<termination>--> <!--<!–<maximumMinutesSpend>6</maximumMinutesSpend>–>--> <!--<maximumSecondsSpend>30</maximumSecondsSpend>--> <!--</termination>--> <!--<selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.PeriodChangeMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.RoomChangeMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.LectureSwitchMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--</selector>--> <!--<acceptor>--> <!--<simulatedAnnealingStartingTemperature>0hard/100soft</simulatedAnnealingStartingTemperature>--> <!--</acceptor>--> <!--<forager>--> <!--<minimalAcceptedSelection>4</minimalAcceptedSelection>--> <!--</forager>--> <!--</localSearch>--> <!--</solver>--> <!--</solverBenchmark>--> <!--<solverBenchmark>--> <!--<name>simulatedAnnealing100-propertyTabu10</name>--> <!--<solver>--> <!--<localSearch>--> <!--<termination>--> <!--<!–<maximumMinutesSpend>3</maximumMinutesSpend>–>--> <!--<maximumSecondsSpend>15</maximumSecondsSpend>--> <!--</termination>--> <!--<selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.PeriodChangeMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.RoomChangeMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.LectureSwitchMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--</selector>--> <!--<acceptor>--> <!--<simulatedAnnealingStartingTemperature>0hard/100soft</simulatedAnnealingStartingTemperature>--> <!--</acceptor>--> <!--<forager>--> <!--<minimalAcceptedSelection>4</minimalAcceptedSelection>--> <!--</forager>--> <!--</localSearch>--> <!--<localSearch>--> <!--<termination>--> <!--<!–<maximumMinutesSpend>3</maximumMinutesSpend>–>--> <!--<maximumSecondsSpend>15</maximumSecondsSpend>--> <!--</termination>--> <!--<selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.PeriodChangeMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.RoomChangeMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.curriculumcourse.solver.move.factory.LectureSwitchMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--</selector>--> <!--<acceptor>--> <!--<completePropertyTabuSize>10</completePropertyTabuSize>--> <!--<completeSolutionTabuSize>1500</completeSolutionTabuSize>--> <!--</acceptor>--> <!--<forager>--> <!--<minimalAcceptedSelection>900</minimalAcceptedSelection><!– TODO tweak me –>--> <!--</forager>--> <!--</localSearch>--> <!--</solver>--> <!--</solverBenchmark>--> </solverBenchmarkSuite>