|
From: Wit J. <wit...@gm...> - 2009-02-16 15:25:30
|
2009/2/16 Marcin Krol <mr...@gm...>:
> Wit Jakuczun wrote:
>> I am afraid but there is no bb_min/2 defined.
>> The min arity is 3. Try to run your code
>> with bb_min(sum(X,S), S, bb_options{strategy:continue}).
>
> Thanks for answer, I figured that out a moment after I sent that mail,
> but now I have a different problem:
>
Right! There have been 2 mistakes in your code :).
The correct code should have labeling(X) instead
of sum(X, S) in bb_min predicate and S should be
defined as: S #= sum(X) (this should be added before
bb_min).
Moreover you do not need to use suspend module.
In fact loading it generates an error in my eclipse.
Best regards
--
[ Wit Jakuczun w.j...@wl... ]
[ WLOG Solutions http://wlogsolutions.com ]
|