Hi,
Changing the Space in the choice-function is not viable for a
multitude of reasons. Please read through the relevant chapters in MPG
first, in particular, what to do in each of the brancher methods
(32.1). The choice function creates a description of what the brancher
should do, and the commit method takes such a description and applies
it.
If it actually is important to only post the constraints once
(remember, always verify your assumptions on what costs time), I would
create alternate unary branches that create these additional
propagators with multi-way branches that perform the search.
Cheers,
Mikael
> --
> You received this message because you are subscribed to the Google Groups "Gecode" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
gecode+un...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/gecode/c5d60622-8829-4314-904d-34922f50eaabn%40googlegroups.com.
--
Mikael Zayenz Lagerkvist