All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.drools.planner.examples.curriculumcourse.benchmark.curriculumCourseSolverBenchmarkConfig.xml Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 6.0.0.Alpha9
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<solverBenchmarkSuite>
    <benchmarkDirectory>local/data/curriculumcourse</benchmarkDirectory>
    <solverStatisticType>BEST_SOLUTION_CHANGED</solverStatisticType>
    
    <!--<inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp01.xml</inheritedUnsolvedSolutionFile>-->
    <!--<inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp02.xml</inheritedUnsolvedSolutionFile>-->
    <!--<inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp03.xml</inheritedUnsolvedSolutionFile>-->
    <!--<inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp04.xml</inheritedUnsolvedSolutionFile>-->
    <!--<inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp05.xml</inheritedUnsolvedSolutionFile>-->
    <!--<inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp06.xml</inheritedUnsolvedSolutionFile>-->
    <!--<inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp07.xml</inheritedUnsolvedSolutionFile>-->
    <inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp08.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp09.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp10.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp11.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp12.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp13.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/curriculumcourse/unsolved/comp14.xml</inheritedUnsolvedSolutionFile>

    <inheritedLocalSearchSolver>
        <scoreDrl>/org/drools/planner/examples/curriculumcourse/solver/curriculumCourseScoreRules.drl</scoreDrl>
        <startingSolutionInitializerClass>org.drools.planner.examples.curriculumcourse.solver.solution.initializer.CurriculumCourseStartingSolutionInitializer</startingSolutionInitializerClass>
        <termination>
            <!--
                Official benchmark maximumSecondsSpend allowed on:
                ge0ffrey's main pc: 429
                ge0ffrey's old pc: 1152
            -->
            <maximumSecondsSpend>429</maximumSecondsSpend>
        </termination>
    </inheritedLocalSearchSolver>

    <solverBenchmark>
        <localSearchSolver>
            <scoreDefinition>
                <scoreDefinitionType>HARD_AND_SOFT</scoreDefinitionType>
            </scoreDefinition>
            <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>
                <pickEarlyType>NEVER</pickEarlyType>
                <minimalAcceptedSelection>900</minimalAcceptedSelection><!-- TODO tweak me -->
            </forager>
        </localSearchSolver>
    </solverBenchmark>
</solverBenchmarkSuite>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy