[eclipse-clp-users] eclipse university time tabling

From: paniz alipour <alipourpaniz_at_...6...>
Date: Fri, 23 Jul 2010 21:18:14 +0430
Hello
I can't run this part with eclipse,i get this error:

instantiation fault in functor(_120, [], _85)

model(V,B,R,K,L,Matrix,Method):-
dim(Matrix,[V,B]),
Matrix[1..V,1..B] :: 0..1,
(for(I,1,V), param(Matrix,B,R) do
sumlist(Matrix[I,1..B],R)
),
(for(J,1,B), param(Matrix,V,K) do
sumlist(Matrix[1..V,J],K)
),
(for(I,1,V-1), param(Matrix,V,B,L) do
(for(I1,I+1,V), param(Matrix,I,B,L) do
scalar_product(Matrix[I,1..B],
Matrix[I1,1..B],L)
)
).
Received on Fri Jul 23 2010 - 16:48:21 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2018 - 02:05:29 CEST