[eclipse-clp-users] help with gcc_matrix

From: Moon, Geoff <gmoon_at_kpmg.com.au>
Date: Tue, 9 Feb 2010 15:23:45 +1100
Hi All

I cannot get the gcc_matrix constraint to work! Even the simple example
below fails. Am I missing something?

Thanks in advance

Geoff




:- lib(ic).
:- lib(ic_global).
go:-
dim(M,[2,2]),
M :: 1..4,
Rows =  [
        [gcc(0,1,1),gcc(0,1,2)],
        [gcc(0,1,3),gcc(0,1,4)]
        ],
Cols =  [
        [gcc(0,1,1),gcc(0,1,3)],
        [gcc(0,1,2),gcc(0,1,4)]
        ],
gcc_matrix(Rows,Cols,M),
label(M),
writeln(M).



******************************************************************

The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
e-mail by anyone else is unauthorised. If you have received this
communication in error, please notify us immediately by return
e-mail with the subject heading "Received in error" or telephone
+61 2 93357000, then delete the email and destroy any copies of it.
If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any opinions or advice
contained in this e-mail are subject to the terms and conditions
expressed in the governing KPMG client engagement letter. Opinions,
conclusions and other information in this e-mail and any
attachments that do not relate to the official business of the firm
are neither given nor endorsed by it. 

KPMG cannot guarantee that e-mail communications are secure or
error-free, as information could be intercepted, corrupted,
amended, lost, destroyed, arrive late or incomplete, or contain
viruses. 

KPMG, an Australian partnership and a member firm of the KPMG
network of independent member firms affiliated with KPMG
International Cooperative (“KPMG International”) is a Swiss entity.
 KPMG International provides no services to clients.  

Liability limited by a scheme approved under Professional Standards
Legislation. 

******************************************************************
Received on Tue Feb 09 2010 - 04:41:36 CET

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