[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2911) Planner: simulated annealing should work for planning problems with hard constraints often broken too

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Tue Mar 1 02:35:07 EST 2011


     [ https://issues.jboss.org/browse/JBRULES-2911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey De Smet resolved JBRULES-2911.
---------------------------------------

    Resolution: Done


fixed, see reference manual and Upgrade recipe txt

> 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


More information about the jboss-jira mailing list