Description of problem: The construction heuristics does not scale if the value range is high 10,000 or more. Version-Release number of selected component (if applicable): 6.2 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
IIRC, the customer wants a CH that finishes in seconds with 60k chained entities and drools score calculation. I've recently fixed Nearby Selection on Construction Heuristics: https://issues.jboss.org/browse/PLANNER-359 but that in itself isn't enough: even though it finishes in seconds, the score quality hit is too high (because it takes longer for Local Search to make up for it than the time it saved). However, if we add a new Construction Heuristic called Nearest Neighbour (and variants) to our algorithm arsenal, we can fulfil this request (because I've already helped another customer work around it this way): https://issues.jboss.org/browse/PLANNER-380 Workaround: Implement a custom Construction Heuristic (with a custom phase, see docs) that basically does Nearest Neighbour.