[jboss-jira] [JBoss JIRA] Created: (JBRULES-2911) Planner: simulated annealing should work for planning problems with many hard constraints broken
Geoffrey De Smet (JIRA)
jira-events at lists.jboss.org
Sat Feb 26 15:52:05 EST 2011
Planner: simulated annealing should work for planning problems with many hard constraints broken
------------------------------------------------------------------------------------------------
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
More information about the jboss-jira
mailing list