Thank Wofgang for your reply, you understood my problem correctly but your 
answer will not help, may be the numbers I wrote made the confusion, on any way 
I wrpte it again without specific numbers

 suppose that the following constraint 
 
Z1 =: X1 - Y1
 
the range of X1 is N1#N10 , Y1 is M1#M10 and Z1 from L1#L10
 
when distributing X1, Y1I want to take the corresponding values in their ranges 
i.e when X1 takes the value of N2, Y1 should take the value of M1 and when X1 
takes the value of N2, Y1 should take the value of M2,....etc.
 
I don't know how to do that so I hope that someone will help
 
Ali El-Matarawy




Date: Tue, 24 May 2011 00:42:31 +0200
From: [email protected]
To: [email protected]
CC: 
Subject: Re: Constraints


Hi,

I'm not sure I understand your problem correctly, but can't you just set an 
additional constraint X1 =: Y1 + 10 ?
Of course, in this case Z1 would always be 10...so I'm probably missing 
something.


Wolfgang



On Mon, May 23, 2011 at 11:10 AM, Ali Matarawy <[email protected]> wrote:


Dear All,
 
suppose that the following constraint 
 
Z1 =: X1 - y1
 
the range of X1 is 20#30 , Y1 is 10#20 and Z1 from 10#20
 
when distributing X1, Y1I want to take the corresponding values in their ranges 
i.e when X1 takes the value of 20 Y1 should take the value of 10 and when X1 
takes the value of 21 Y1 should take the value of 11,....etc.
 
I don't know how to do that so I hope that someone will help
 
Ali El-Matarawy

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users


_________________________________________________________________________________
 mozart-users mailing list [email protected] 
http://www.mozart-oz.org/mailman/listinfo/mozart-users                          
           
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to