[FlopCpp] Sets and subsets of integer values

Tim Hultberg Tim.Hultberg at eumetsat.int
Fri Aug 29 02:03:53 EDT 2008


Yes, everything looks correct to me.

Tim

>>> "marcos.roberto.silva" <marcos.roberto.silva at uol.com.br> 28/08/2008 19:05 >>>
Hi,
I'm trying to create a subset of integer values like:

...
int n=10;

MP_set I(n);

MP_subset<1> K(I);

K.insert(0);
K.insert(9);
...

Is this correct? The set I is with values from 0 to 9?
Can I create a subset this way?

I need to create a subset K with only two elements 0 and 9.

Could you please help me?

Thank you very much!!

Marcos Roberto Silva



_______________________________________________
FlopCpp mailing list
FlopCpp at list.coin-or.org 
http://list.coin-or.org/mailman/listinfo/flopcpp




More information about the FlopCpp mailing list