Re: [eclipse-clp-users] eclipse problem

From: Joachim Schimpf <joachim.schimpf_at_monash.edu>
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 : Thu Feb 02 2012 - 02:31:58 CET