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

Reply via email to