@@ -1643,6 +1643,7 @@ void solveMixedModel() {
16431643 var solverConfig = PlannerTestUtils .buildSolverConfig (
16441644 TestdataMixedSolution .class , TestdataMixedEntity .class , TestdataMixedValue .class ,
16451645 TestdataMixedOtherValue .class )
1646+ .withPreviewFeature (PreviewFeature .MIXED_MODELS )
16461647 .withPhases (new ConstructionHeuristicPhaseConfig (),
16471648 new LocalSearchPhaseConfig ().withTerminationConfig (new TerminationConfig ().withStepCountLimit (16 )))
16481649 .withEasyScoreCalculatorClass (TestdataMixedEasyScoreCalculator .class );
@@ -1669,6 +1670,7 @@ void solveMixedModelWithSortManner(Pair<EntitySorterManner, ValueSorterManner> s
16691670 var solverConfig = PlannerTestUtils .buildSolverConfig (
16701671 TestdataMixedSolution .class , TestdataMixedEntity .class , TestdataMixedValue .class ,
16711672 TestdataMixedOtherValue .class )
1673+ .withPreviewFeature (PreviewFeature .MIXED_MODELS )
16721674 .withPhases (new ConstructionHeuristicPhaseConfig (),
16731675 new LocalSearchPhaseConfig ()
16741676 .withMoveSelectorConfig (
@@ -1699,6 +1701,7 @@ void solvePinnedMixedModel() {
16991701 var solverConfig = PlannerTestUtils .buildSolverConfig (
17001702 TestdataMixedSolution .class , TestdataMixedEntity .class , TestdataMixedValue .class ,
17011703 TestdataMixedOtherValue .class )
1704+ .withPreviewFeature (PreviewFeature .MIXED_MODELS )
17021705 .withPhases (new ConstructionHeuristicPhaseConfig ())
17031706 .withEasyScoreCalculatorClass (TestdataMixedEasyScoreCalculator .class );
17041707
@@ -1717,6 +1720,7 @@ void solvePinnedMixedModel() {
17171720 void solveUnassignedMixedModel () {
17181721 var solverConfig = PlannerTestUtils .buildSolverConfig (
17191722 TestdataUnassignedMixedSolution .class , TestdataUnassignedMixedEntity .class )
1723+ .withPreviewFeature (PreviewFeature .MIXED_MODELS )
17201724 .withPhases (new ConstructionHeuristicPhaseConfig (),
17211725 new LocalSearchPhaseConfig ().withTerminationConfig (new TerminationConfig ().withStepCountLimit (16 )))
17221726 .withEasyScoreCalculatorClass (TestdataUnassignedMixedEasyScoreCalculator .class );
@@ -1743,6 +1747,7 @@ void solveUnassignedMixedModel() {
17431747 void solvePinnedAndUnassignedMixedModel () {
17441748 var solverConfig = PlannerTestUtils .buildSolverConfig (
17451749 TestdataUnassignedMixedSolution .class , TestdataUnassignedMixedEntity .class )
1750+ .withPreviewFeature (PreviewFeature .MIXED_MODELS )
17461751 .withPhases (new ConstructionHeuristicPhaseConfig (),
17471752 new LocalSearchPhaseConfig ().withTerminationConfig (new TerminationConfig ().withStepCountLimit (16 )))
17481753 .withEasyScoreCalculatorClass (TestdataUnassignedMixedEasyScoreCalculator .class );
@@ -1805,6 +1810,7 @@ void solveCustomConfigMixedModel() {
18051810 var solverConfig = PlannerTestUtils .buildSolverConfig (
18061811 TestdataMixedSolution .class , TestdataMixedEntity .class , TestdataMixedValue .class ,
18071812 TestdataMixedOtherValue .class )
1813+ .withPreviewFeature (PreviewFeature .MIXED_MODELS )
18081814 .withPhases (new ConstructionHeuristicPhaseConfig ()
18091815 .withEntityPlacerConfigList (valuePlacerConfig , entityPlacerConfig ),
18101816 new LocalSearchPhaseConfig ().withTerminationConfig (new TerminationConfig ().withStepCountLimit (16 )))
@@ -1866,6 +1872,7 @@ void solveMoveConfigMixedModel(MoveSelectorConfig moveSelectionConfig) {
18661872 var solverConfig = PlannerTestUtils .buildSolverConfig (
18671873 TestdataMixedSolution .class , TestdataMixedEntity .class , TestdataMixedValue .class ,
18681874 TestdataMixedOtherValue .class )
1875+ .withPreviewFeature (PreviewFeature .MIXED_MODELS )
18691876 .withPhases (new ConstructionHeuristicPhaseConfig (), localSearchConfig )
18701877 .withEasyScoreCalculatorClass (TestdataMixedEasyScoreCalculator .class );
18711878
@@ -1938,6 +1945,7 @@ void solveMultiEntityMoveConfigMixedModel(MoveSelectorConfig moveSelectionConfig
19381945 var solverConfig = PlannerTestUtils .buildSolverConfig (
19391946 TestdataMixedMultiEntitySolution .class , TestdataMixedMultiEntityFirstEntity .class ,
19401947 TestdataMixedMultiEntitySecondEntity .class )
1948+ .withPreviewFeature (PreviewFeature .MIXED_MODELS )
19411949 .withPhases (constructionHeuristicConfig , localSearchConfig )
19421950 .withEasyScoreCalculatorClass (TestdataMixedEntityEasyScoreCalculator .class );
19431951
0 commit comments