On , Christopher Tensmeyer <
christophe...@gmail.com> wrote:
> The vanilla strategy is to have some kind of priority queue agenda that holds a variable number of partial solutions and when a new bssf is found, the agenda is searched and known sub optimal partial solutions are removed. Those removed are the ones that count as being pruned.
>
>
> I implemented a DFS as my state-expansion strategy. My agenda therefore contained one partial state at a time, and did not prune any of those states because I explored them. By implicitly pruning, I mean that there were branches in the DFS that I skipped based on my bounding function. Depending on the problem, there were >2^64 possible branches of computation. On a certain 20 city problem, I actually got through the entire search tree, examining directly several million partial states, leaving about (20! - several million) states that I implicitly pruned.
>
>
> Bottom line, implicit pruning does not count as pruning according to reporting. So I reported my max size as 1 and states pruned as 0. As for conditionally handling pruning, if that is not possible to do because of the design of your agenda, so be it. If you have a variable length agenda, then you can do that.
>
>
> Chris
>
> PS, do I have your permission to post your question and the response to the google group?
>
> On Wed, Aug 1, 2012 at 4:15 PM, Clint Rollins
rollin...@gmail.com> wrote:
>
> Hi Chris,
>
> I'm still trying to figure out how to do my state-expansion strategy, and I was curious about what you said about how you did implicit or no cost pruning. One of the spec requirements says:
>
>
> Your solver must include a mechanism for managing the agenda to
> conditionally (under your control) prune the agenda during execution.
> You will also need a way to report the maximum size of your agenda and
> the number of states that were pruned during the search to collect data
> for the report.
>
> Will implicit pruning comply with this requirement. Also, if you did implicit pruning, how would you be able to not prune your tree? We need to show results of both pruning and not pruning.
>
>
>
> Thanks,
>
> Clint
>
>
>
>
>