[
https://issues.jboss.org/browse/JBRULES-2911?page=com.atlassian.jira.plug...
]
Geoffrey De Smet updated JBRULES-2911:
--------------------------------------
Summary: Planner: simulated annealing should work for planning problems with hard
constraints often broken too (was: Planner: simulated annealing should work for planning
problems with many hard constraints broken)
Planner: simulated annealing should work for planning problems with
hard constraints often broken too
-----------------------------------------------------------------------------------------------------
Key: JBRULES-2911
URL:
https://issues.jboss.org/browse/JBRULES-2911
Project: Drools
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: drools-planner
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Priority: Minor
Fix For: 5.2.0.M2
This code is bad in SimulatedAnnealingAcceptor:
// TODO don't abuse translateScoreToGraphValue
// TODO do hard and soft separately and then average their acceptChance
Double diff =
localSearchSolverScope.getScoreDefinition().translateScoreToGraphValue(scoreDifference);
if (diff == null) {
// more hard constraints broken, ignore it for now
return 0.0;
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira