>> What I want to make is cross product set AB with C, is that possible
>> without using +/- matrix and/or slice? Because the final set is
>> exceptionally big one.
set C;
set AB, dimen 2;
set A := setof{(a, b) in AB} a;
set B := setof{(a, b) in AB} b;
set ABC, dimen 3 := AB cross C;
display A, B, ABC;
data;
set C := C1 C2;
set AB :=
(A1, B1)
(A1, B3)
(A3, B1)
(A3, B2)
(A4, B3)
(A5, B1);
end;
Best regards
Heinrich Schuchardt
http://www.xypron.de
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk