[jboss-jira] [JBoss JIRA] (JBRULES-3334) AbstractTabuAcceptor doesn't add the starting solution as tabu

Geoffrey De Smet (Resolved) (JIRA) jira-events at lists.jboss.org
Sun Jan 8 08:53:10 EST 2012


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

Geoffrey De Smet resolved JBRULES-3334.
---------------------------------------

    Fix Version/s: 5.4.0.Beta2
       Resolution: Done


Fixed by merging pull request, thanks Patrick :)

https://github.com/droolsjbpm/drools-planner/compare/2657e7b...e246034
https://github.com/droolsjbpm/drools-planner/commit/2a59dcb8d54f00e6c0579edd619d00fc33ee0966
                
> AbstractTabuAcceptor doesn't add the starting solution as tabu
> --------------------------------------------------------------
>
>                 Key: JBRULES-3334
>                 URL: https://issues.jboss.org/browse/JBRULES-3334
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-planner
>    Affects Versions: 5.3.1.Final
>            Reporter: Patrik Dufresne
>            Assignee: Geoffrey De Smet
>             Fix For: 5.4.0.Beta2
>
>
> When setting a complete solution tabu, the starting solution is not considered a Tabu making it possible to visit the same solution again.
> Consider a situation where there is construction phase followed by a local search phase. The construction phase will create a solution that will not be added to the tabu list of the local search phased.
> To fix it, I suggest to override the function phaseStarted(...) in SolutionTabuAcceptor to add solution to the Tabu map.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list