[eclipse-clp-users] urgent eclipse problem

From: paniz alipour <alipourpaniz_at_gmail.com>
Date: Mon, 20 Sep 2010 00:47:14 +0430
hi all ! anybody can help me with this part of code when I
run the code it shows me this
found a solution with cost 4
found no solution with 0.0...1060
.
.
.
.
etc
I can't findout what's wrong with it pease guide me


,course_curr(CG1,NCourse)
%,course_group(CG1)
%sort_curriculums(Curri),
,sort_curriculums(Curri),
%length(Curri,NC),
length(Curri,NC1),
dim(HasLecture,[NC1,Timeslots]),
term_variables(HasLecture,HasLectureVars)
,HasLectureVars::0..1,
(for(J,1,Timeslots),param(NRoom,T,NCourse,Curri,CG1,HasLecture)do
   (foreach(_,Curri),count(TT,1,_),param(NCourse,NRoom,T,CG1,J,HasLecture)do
     (for(I,1,NCourse),foreach(X1,LH),param(T,NRoom,CG1,TT,J)do
                    %THIS PART OF CODE
       (for(K,1,NRoom),foreach(PT,X1),param(T,CG1,I,J,TT)do
          subscript(CG1,[I,TT],M),
  %Q#=M,
          subscript(T,[I,J,K],N),
          %LK#=N,
           PT#=N*M
        )
      ) ,
         flatten(LH,LL3),
     HasLecture[TT,J]#=<sum(LL3)
   )
),
Received on Sun Sep 19 2010 - 20:17:21 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET