Re: Eclipse: instantiation fault in ic
- From: dayzman@xxxxxxxxxxx
- Date: 15 Apr 2005 04:51:48 -0700
Bart Demoen wrote:
> dayzman@xxxxxxxxxxx wrote:
> [..]
> > foreach(SR,SumRows),
> > foreach(SC,SumCols),
> > param(Square)
> > do
> > sum(Square[I,1..N]) #= SR,
> > sum(Square[1..N,I]) #= SC
> > ),
> > search(Vars,0,first_fail,indomain,complete,[]).
> >
>
> Put N also in the param.
> (next time, tell us which is the query - it saves us time).
>
> Cheers
>
> Bart Demoen
Silly me.. thanks a lot.
Michael
.
- References:
- Eclipse: instantiation fault in ic
- From: dayzman
- Re: Eclipse: instantiation fault in ic
- From: Bart Demoen
- Eclipse: instantiation fault in ic
- Prev by Date: Re: nested list
- Next by Date: Re: Graph to tree structure
- Previous by thread: Re: Eclipse: instantiation fault in ic
- Next by thread: A few JPL (Java <-> Prolog interface) questions
- Index(es):
Relevant Pages
|
|