[
https://issues.jboss.org/browse/JBRULES-3334?page=com.atlassian.jira.plug...
]
Geoffrey De Smet reopened JBRULES-3334:
---------------------------------------
Reopening because of this: "When adding the first solution to the tabu-map, what is
the stepIndex value, since a value of 0 represent the first step. The Index -1 is used to
represent a 'not found' tabu."
For now the issue has been mostly fixed, but raises a lower issue that we need to fix
before truly closing this issue.
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