[Cmpl] Set complement available as a simple operation?

Michael Bond mbond at videologygroup.com
Sat Sep 14 10:31:04 EDT 2013


Thank you. Now I feel totally stupid, read that a couple days ago.

________________________________
From: Mike Steglich <mike.steglich at th-wildau.de>
Sent: Saturday, September 14, 2013 10:25 AM
To: Michael Bond
Cc: cmpl at list.coin-or.org
Subject: Re: [Cmpl] Set complement available as a simple operation?

Please take a look at chapter 3.3 of the Cmpl manual ....
There is the following example for a set complement:


s1 := set( "a","b","c","d");
s2 := set( "a","e","c","f");

s3 := set{i in s1, !(i << s2): i};


s3 ist equal to s1\s2


Hope that helps.















Am 14.09.2013 um 16:08 schrieb Michael Bond <mbond at videologygroup.com<mailto:mbond at videologygroup.com>>:

Still figuring CMPL out and was wondering if there is a simple operation/operator for getting a set complement, along the lines of a in A \ B?
This email is intended only for the use of the individual(s) to whom it is addressed. If you have received this communication in error, please immediately notify the sender and delete the original email.
_______________________________________________
Cmpl mailing list
Cmpl at list.coin-or.org<mailto:Cmpl at list.coin-or.org>
http://list.coin-or.org/mailman/listinfo/cmpl
This email is intended only for the use of the individual(s) to whom it is addressed. If you have received this communication in error, please immediately notify the sender and delete the original email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cmpl/attachments/20130914/c1192ddb/attachment.html>


More information about the Cmpl mailing list