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

org.optaplanner.examples.vehiclerouting.benchmark.vehicleRoutingBenchmarkConfig.xml Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 9.44.0.Final
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<plannerBenchmark>
  <benchmarkDirectory>local/data/vehiclerouting</benchmarkDirectory>
  <parallelBenchmarkCount>AUTO</parallelBenchmarkCount>
  <warmUpSecondsSpend>30</warmUpSecondsSpend>

  <inheritedSolverBenchmark>
    <problemBenchmarks>
      <xstreamAnnotatedClass>org.optaplanner.examples.vehiclerouting.domain.VrpSchedule</xstreamAnnotatedClass>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n32-k5.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n33-k5.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n33-k6.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n34-k5.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n36-k5.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n37-k5.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n37-k6.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n38-k5.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n39-k5.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n39-k6.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n44-k7.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n45-k6.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n45-k7.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n46-k7.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n48-k7.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n53-k7.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n54-k7.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n55-k9.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n60-k9.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n61-k9.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n62-k8.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n63-k10.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n63-k9.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n64-k9.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n65-k9.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n69-k9.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/A-n80-k10.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/F-n135-k7.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/F-n45-k4.xml</inputSolutionFile>
      <inputSolutionFile>data/vehiclerouting/unsolved/F-n72-k4.xml</inputSolutionFile>
      <problemStatisticType>BEST_SCORE</problemStatisticType>
    </problemBenchmarks>

    <solver>
      <!--<environmentMode>FAST_ASSERT</environmentMode>-->
      <solutionClass>org.optaplanner.examples.vehiclerouting.domain.VrpSchedule</solutionClass>
      <planningEntityClass>org.optaplanner.examples.vehiclerouting.domain.VrpCustomer</planningEntityClass>
      <planningEntityClass>org.optaplanner.examples.vehiclerouting.domain.VrpStandstill</planningEntityClass>

      <scoreDirectorFactory>
        <scoreDefinitionType>HARD_SOFT</scoreDefinitionType>
        <scoreDrl>/org/optaplanner/examples/vehiclerouting/solver/vehicleRoutingScoreRules.drl</scoreDrl>
      </scoreDirectorFactory>

      <termination>
        <maximumMinutesSpend>5</maximumMinutesSpend>
      </termination>
    </solver>
  </inheritedSolverBenchmark>

  <solverBenchmark>
    <name>jit-changeSwap-entityTabu9-2000</name>
    <solver>
      <constructionHeuristic>
        <constructionHeuristicType>FIRST_FIT_DECREASING</constructionHeuristicType>
      </constructionHeuristic>
      <localSearch>
        <unionMoveSelector>
          <changeMoveSelector/>
          <swapMoveSelector/>
        </unionMoveSelector>
        <acceptor>
          <entityTabuSize>9</entityTabuSize>
        </acceptor>
        <forager>
          <acceptedCountLimit>2000</acceptedCountLimit>
        </forager>
      </localSearch>
    </solver>
  </solverBenchmark>
  <solverBenchmark>
    <name>jit-changeSwapSubChainChangeNoReversing-entityTabu9-2000</name>
    <solver>
      <constructionHeuristic>
        <constructionHeuristicType>FIRST_FIT_DECREASING</constructionHeuristicType>
      </constructionHeuristic>
      <localSearch>
        <unionMoveSelector>
          <changeMoveSelector/>
          <swapMoveSelector/>
          <subChainChangeMoveSelector>
            <selectReversingMoveToo>false</selectReversingMoveToo>
          </subChainChangeMoveSelector>
        </unionMoveSelector>
        <acceptor>
          <entityTabuSize>9</entityTabuSize>
        </acceptor>
        <forager>
          <acceptedCountLimit>2000</acceptedCountLimit>
        </forager>
      </localSearch>
    </solver>
  </solverBenchmark>
  <solverBenchmark>
    <name>jit-changeSwapSubChainChange-entityTabu9-2000</name>
    <solver>
      <constructionHeuristic>
        <constructionHeuristicType>FIRST_FIT_DECREASING</constructionHeuristicType>
      </constructionHeuristic>
      <localSearch>
        <unionMoveSelector>
          <changeMoveSelector/>
          <swapMoveSelector/>
          <subChainChangeMoveSelector/>
        </unionMoveSelector>
        <acceptor>
          <entityTabuSize>9</entityTabuSize>
        </acceptor>
        <forager>
          <acceptedCountLimit>2000</acceptedCountLimit>
        </forager>
      </localSearch>
    </solver>
  </solverBenchmark>
  <solverBenchmark>
    <name>jit-changeSwapSubChainChangeSwapNoReversing-entityTabu9-2000</name>
    <solver>
      <constructionHeuristic>
        <constructionHeuristicType>FIRST_FIT_DECREASING</constructionHeuristicType>
      </constructionHeuristic>
      <localSearch>
        <unionMoveSelector>
          <changeMoveSelector/>
          <swapMoveSelector/>
          <subChainChangeMoveSelector>
            <selectReversingMoveToo>false</selectReversingMoveToo>
          </subChainChangeMoveSelector>
          <subChainSwapMoveSelector>
            <selectReversingMoveToo>false</selectReversingMoveToo>
          </subChainSwapMoveSelector>
        </unionMoveSelector>
        <acceptor>
          <entityTabuSize>9</entityTabuSize>
        </acceptor>
        <forager>
          <acceptedCountLimit>2000</acceptedCountLimit>
        </forager>
      </localSearch>
    </solver>
  </solverBenchmark>
  <solverBenchmark>
    <name>jit-changeSwapSubChainChangeSwap-entityTabu9-2000</name>
    <solver>
      <constructionHeuristic>
        <constructionHeuristicType>FIRST_FIT_DECREASING</constructionHeuristicType>
      </constructionHeuristic>
      <localSearch>
        <unionMoveSelector>
          <changeMoveSelector/>
          <swapMoveSelector/>
          <subChainChangeMoveSelector/>
          <subChainSwapMoveSelector/>
        </unionMoveSelector>
        <acceptor>
          <entityTabuSize>9</entityTabuSize>
        </acceptor>
        <forager>
          <acceptedCountLimit>2000</acceptedCountLimit>
        </forager>
      </localSearch>
    </solver>
  </solverBenchmark>
</plannerBenchmark>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy