org.optaplanner.examples.cloudbalancing.solver.cloudBalancingSolverConfig.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of optaplanner-examples Show documentation
Show all versions of optaplanner-examples Show documentation
OptaPlanner solves planning problems.
This lightweight, embeddable planning engine implements powerful and scalable algorithms
to optimize business resource scheduling and planning.
This module contains the examples which demonstrate how to use it in a normal Java application.
<?xml version="1.0" encoding="UTF-8"?> <solver> <!--<environmentMode>FULL_ASSERT</environmentMode>--><!-- To slowly prove there are no bugs in this code --> <!--<moveThreadCount>AUTO</moveThreadCount>--><!-- To solve faster by saturating multiple CPU cores --> <!-- Domain model configuration --> <scanAnnotatedClasses> <packageInclude>org.optaplanner.examples.cloudbalancing</packageInclude> </scanAnnotatedClasses> <!-- Score configuration --> <scoreDirectorFactory> <!--<easyScoreCalculatorClass>org.optaplanner.examples.cloudbalancing.optional.score.CloudBalancingEasyScoreCalculator</easyScoreCalculatorClass>--> <!--<easyScoreCalculatorClass>org.optaplanner.examples.cloudbalancing.optional.score.CloudBalancingMapBasedEasyScoreCalculator</easyScoreCalculatorClass>--> <!--<incrementalScoreCalculatorClass>org.optaplanner.examples.cloudbalancing.optional.score.CloudBalancingIncrementalScoreCalculator</incrementalScoreCalculatorClass>--> <scoreDrl>org/optaplanner/examples/cloudbalancing/solver/cloudBalancingScoreRules.drl</scoreDrl> <initializingScoreTrend>ONLY_DOWN</initializingScoreTrend> <!--<assertionScoreDirectorFactory>--> <!--<easyScoreCalculatorClass>org.optaplanner.examples.cloudbalancing.optional.score.CloudBalancingMapBasedEasyScoreCalculator</easyScoreCalculatorClass>--> <!--</assertionScoreDirectorFactory>--> </scoreDirectorFactory> <!-- Optimization algorithms configuration --> <termination> <minutesSpentLimit>2</minutesSpentLimit> </termination> <!-- Power tweaked optimization algorithms configuration --> <!--<constructionHeuristic>--> <!--<constructionHeuristicType>FIRST_FIT_DECREASING</constructionHeuristicType>--> <!--</constructionHeuristic>--> <!--<localSearch>--> <!--<unionMoveSelector>--> <!--<changeMoveSelector/>--> <!--<swapMoveSelector/>--> <!--<pillarChangeMoveSelector/>--> <!--<pillarSwapMoveSelector/>--> <!--</unionMoveSelector>--> <!--<acceptor>--> <!--<entityTabuSize>7</entityTabuSize>--> <!--</acceptor>--> <!--<forager>--> <!--<acceptedCountLimit>1000</acceptedCountLimit>--> <!--</forager>--> <!--</localSearch>--> <!-- Alternative power tweaked optimization algorithms configuration --> <!--<partitionedSearch>--> <!--<solutionPartitionerClass>org.optaplanner.examples.cloudbalancing.optional.partitioner.CloudBalancePartitioner</solutionPartitionerClass>--> <!--<solutionPartitionerCustomProperties>--> <!--<partCount>4</partCount>--> <!--<minimumProcessListSize>300</minimumProcessListSize>--> <!--</solutionPartitionerCustomProperties>--> <!--</partitionedSearch>--> </solver>