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

org.drools.planner.examples.pas.benchmark.patientAdmissionScheduleSolverBenchmarkConfig.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/pas</benchmarkDirectory>
    <solverStatisticType>BEST_SOLUTION_CHANGED</solverStatisticType>

    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata01.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata02.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata03.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata04.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata05.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata06.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata07.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata08.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata09.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata10.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata11.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata12.xml</inheritedUnsolvedSolutionFile>
    <inheritedUnsolvedSolutionFile>data/pas/unsolved/testdata13.xml</inheritedUnsolvedSolutionFile>

    <inheritedLocalSearchSolver>
        <scoreDrl>/org/drools/planner/examples/pas/solver/patientAdmissionScheduleBaseScoreRules.drl</scoreDrl>
        <scoreDefinition>
            <scoreDefinitionType>HARD_AND_SOFT</scoreDefinitionType>
        </scoreDefinition>
        <startingSolutionInitializerClass>org.drools.planner.examples.pas.solver.solution.initializer.PatientAdmissionScheduleStartingSolutionInitializer</startingSolutionInitializerClass>
        <termination>
            <!--
               On Geoffrey De Smet's PC: 372 (short run), 3720 (long run).
               On Peter Demeester's PC: 300 (short run), 3000 (long run).
            -->
            <maximumSecondsSpend>3720</maximumSecondsSpend>
        </termination>
    </inheritedLocalSearchSolver>

    <solverBenchmark>
        <name>basis</name>
        <localSearchSolver>
            <selector>
                <selector>
                    <moveFactoryClass>org.drools.planner.examples.pas.solver.move.factory.BedDesignationPillarPartSwitchMoveFactory</moveFactoryClass>
                </selector>
            </selector>
            <acceptor>
                <completeSolutionTabuSize>1000</completeSolutionTabuSize>
                <completeUndoMoveTabuSize>3</completeUndoMoveTabuSize>
            </acceptor>
            <forager>
                <pickEarlyType>NEVER</pickEarlyType>
                <minimalAcceptedSelection>500</minimalAcceptedSelection><!-- TODO tweak me -->
            </forager>
        </localSearchSolver>
    </solverBenchmark>
</solverBenchmarkSuite>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy