Re: [eclipse-clp-users] eclipse problem

From: Joachim Schimpf <joachim.schimpf_at_...269...>
Date: Sat, 18 Sep 2010 14:06:06 +1000
paniz alipour wrote:
> what's wrong with this code?
> ,
> (foreach(_,Curri),foreach(M,N),count(G,1,_),param(Timeslots,Hasgap)do
>     (for(J,1,Timeslots),foreach(X,M),param(G,Hasgap)do
>         subscript(Hasgap,[G,J],X)
>      )     
> )
> ,flatten(N,MyLi),
> SO3#=(2*MyLi)

You are multiplying a scalar with a list.

-- Joachim
Received on Sat Sep 18 2010 - 04:06:17 CEST

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