I'm attempting to use OptaPlanner benchmark blueprints as described at http://docs.jboss.org/optaplanner/release/6.4.0.Final/optaplanner-docs/html_single/index.html#benchmarkBlueprint.
When I use a solverBenchmarkBluePrintType of EVERY_CONSTRUCTION_HEURISTIC_TYPE_WITH_EVERY_LOCAL_SEARCH_TYPE, I get the following error:
The acceptorType (SIMULATED_ANNEALING) currently requires a simulatedAnnealingStartingTemperature (null).
So I tried adding the following to my benchmark.xml file in the inheritedSolverBenchmark section:
<localSearch>
<acceptor>
<simulatedAnnealingStartingTemperature>0hard/500soft</simulatedAnnealingStartingTemperature>
</acceptor>
</localSearch>
And I get this error:
The exception of the firstFailureSingleBenchmarkRunner
(solution_FIRST_FIT-HILL_CLIMBING_0) is chained. /
java.lang.IllegalStateException Local Search phase (0) needs to start
from an initialized solution, but the planning variable
(HatchEventOrderAllocator3bOrder.assignedHatchEvent) is uninitialized
for the entity com.mm.server.inventory.app.HatchEventOrderAllocator3bOrder@7216ab0f).
Initialize the solution by configuring a Construction Heuristic phase before this phase.
It seems that including the localSearch section in the inheritedSolverBenchmark has side effects that I didn't intend.
How can I pass the simulatedAnnealingStartingTemperature to every iteration of the Simulated Annealing algorithm use the blueprint?