Hi all,

Is it possible to define a slice in which the non-asterisk indexes are sets
?

Let's say:

set S := {i in 1..10};
set M := M1 M2;
param QUOTA{M, S} integer;

data;

param QUOTA :=
[*, 1]
M1 4
        M2 10

[*, 2]
M1 4
        M2 10

[*, 3]
M1 4
        M2 10;

end;

...so in this example, the desired slice would be [*, {1..3}]

A workaround I thought is to define subsets which partition the values to
be assigned and then define QUOTA for each of those subsets, but that's not
a nice solution IMHO (better than duplicating though).

Thanks.

-- 
*Nilo Cesar Teixeira*
[email protected]
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to