Re: [gecode-users] Debugging branching

2009-01-20 Thread Mikael Zayenz Lagerkvist
First of all, I meant the copy constructor in your custom branching. Secondly, I re-read your originally posted code, and saw that you use the status/description/commit interface erroneously. From the documentation of description [1]: "This member function can only be called after the member

Re: [gecode-users] Debugging branching

2009-01-20 Thread Malcolm Ryan
On 21/01/2009, at 5:36 PM, Mikael Zayenz Lagerkvist wrote: > Hi, > > While I'm not sure about the exact reason for your failure (especially > without seeing your code), it could be that you call the wrong > Branching-constructor in your copy constructor. See the example custom > branchings in exam

Re: [gecode-users] Debugging branching

2009-01-20 Thread Mikael Zayenz Lagerkvist
Hi, While I'm not sure about the exact reason for your failure (especially without seeing your code), it could be that you call the wrong Branching-constructor in your copy constructor. See the example custom branchings in examples/black-hole.cc and examples/queen-armies.cc for guidance. Cheers,

[gecode-users] Debugging branching

2009-01-20 Thread Malcolm Ryan
I've written a custom branching and I am trying to write some unit tests to make sure it is working properly. As such, I am doing the branching and propagation process step-by-step, but there is something wrong with my code. I have: ConcretePlanSpace *space = new ConcretePlanSpace(gr