[Cmpl] Set complement available as a simple operation?

Mike Steglich mike.steglich at th-wildau.de
Sat Sep 14 10:25:26 EDT 2013


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>:

> 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
> http://list.coin-or.org/mailman/listinfo/cmpl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cmpl/attachments/20130914/789c0d5f/attachment.html>


More information about the Cmpl mailing list