2424import ai .timefold .solver .core .config .heuristic .selector .move .generic .list .ListMultistageMoveSelectorConfig ;
2525import ai .timefold .solver .core .config .heuristic .selector .value .ValueSelectorConfig ;
2626import ai .timefold .solver .core .config .partitionedsearch .PartitionedSearchPhaseConfig ;
27- import ai .timefold .solver .core .config .score .director .ScoreDirectorFactoryConfig ;
2827import ai .timefold .solver .core .config .solver .EnvironmentMode ;
2928import ai .timefold .solver .core .impl .bavet .common .InnerConstraintProfiler ;
3029import ai .timefold .solver .core .impl .constructionheuristic .decider .ConstructionHeuristicDecider ;
3130import ai .timefold .solver .core .impl .constructionheuristic .decider .forager .ConstructionHeuristicForager ;
3231import ai .timefold .solver .core .impl .domain .entity .descriptor .EntityDescriptor ;
33- import ai .timefold .solver .core .impl .domain .solution .descriptor .SolutionDescriptor ;
3432import ai .timefold .solver .core .impl .domain .variable .declarative .TopologicalOrderGraph ;
3533import ai .timefold .solver .core .impl .heuristic .HeuristicConfigPolicy ;
3634import ai .timefold .solver .core .impl .heuristic .selector .entity .EntitySelector ;
4644import ai .timefold .solver .core .impl .neighborhood .MoveRepository ;
4745import ai .timefold .solver .core .impl .partitionedsearch .PartitionedSearchPhase ;
4846import ai .timefold .solver .core .impl .score .constraint .ConstraintMatchTotal ;
49- import ai .timefold .solver .core .impl .score .director .AbstractScoreDirectorFactory ;
5047import ai .timefold .solver .core .impl .score .director .InnerScore ;
5148import ai .timefold .solver .core .impl .score .director .InnerScoreDirector ;
5249import ai .timefold .solver .core .impl .solver .DefaultSolverFactory ;
@@ -68,7 +65,6 @@ final class InstanceCarrier {
6865 }
6966
7067 String COMMUNITY_NAME = "Timefold Solver Community Edition" ;
71- String COMMUNITY_COORDINATES = "ai.timefold.solver:timefold-solver-core" ;
7268 String ENTERPRISE_NAME = "Timefold Solver Enterprise Edition" ;
7369 String ENTERPRISE_COORDINATES = "ai.timefold.solver.enterprise:timefold-solver-enterprise-core" ;
7470 String DEVELOPMENT_SNAPSHOT = "Development Snapshot" ;
@@ -118,19 +114,19 @@ static TimefoldSolverEnterpriseService loadOrFail(Feature feature) {
118114 return load ();
119115 } catch (EnterpriseLicenseException cause ) {
120116 throw new IllegalStateException ("""
121- No valid Timefold Enterprise License was found.
117+ No valid Timefold License was found.
122118 Please contact Timefold to obtain a valid license,
123119 or if you believe that this message was given in error.""" , cause );
124120 } catch (EnterpriseProductException cause ) {
125121 throw new IllegalStateException ("""
126- Valid Timefold Enterprise License was found, but it does not entitle you to run "%s".
122+ Valid Timefold License was found, but it does not entitle you to run "%s".
127123 Maybe %s.
128124 Please contact Timefold to obtain an applicable license,
129125 or if you believe that this message was given in error."""
130126 .formatted (feature .getName (), feature .getWorkaround ()), cause );
131127 } catch (Exception cause ) {
132128 throw new IllegalStateException ("""
133- A feature of Enterprise Edition "%s" was requested but it could not be loaded.
129+ A commercial feature "%s" was requested but it could not be loaded.
134130 Maybe add the %s dependency, or %s.
135131 Please contact Timefold to obtain an applicable license,
136132 or if you believe that this message was given in error."""
@@ -202,10 +198,6 @@ <Solution_> DestinationSelector<Solution_> applyNearbySelection(DestinationSelec
202198
203199 InnerConstraintProfiler buildConstraintProfiler ();
204200
205- <Solution_ , Score_ extends Score <Score_ >> AbstractScoreDirectorFactory <Solution_ , Score_ , ?>
206- buildIncrementalScoreDirectorFactory (ScoreDirectorFactoryConfig config ,
207- SolutionDescriptor <Solution_ > solutionDescriptor , EnvironmentMode environmentMode );
208-
209201 <Score_ extends Score <Score_ >> ScoreAnalysis <Score_ > analyze (InnerScore <Score_ > state ,
210202 Map <ConstraintRef , ConstraintMatchTotal <Score_ >> constraintMatchTotalMap , ScoreAnalysisFetchPolicy fetchPolicy );
211203
@@ -227,9 +219,7 @@ enum Feature {
227219 "remove multistageMoveSelector and/or listMultistageMoveSelector from the solver configuration" ),
228220 CONSTRAINT_PROFILING ("Constraint profiling" , "remove constraintStreamProfilingEnabled from the solver configuration" ),
229221 SCORE_ANALYSIS ("Score analysis" , "do not use SolutionManager's analyze() method" ),
230- RECOMMENDATIONS ("Recommendations" , "do not use SolutionManager's recommendAssignment() method" ),
231- INCREMENTAL_SCORE_CALCULATOR ("Incremental score calculator" ,
232- "remove incrementalScoreCalculatorClass and incrementalScoreCalculatorCustomProperties from the solver configuration" );
222+ RECOMMENDATIONS ("Recommendations" , "do not use SolutionManager's recommendAssignment() method" );
233223
234224 private final String name ;
235225 private final String workaround ;
0 commit comments