help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Subset


From: Kasper Tordrup
Subject: [Help-glpk] Subset
Date: Mon, 17 Oct 2011 14:18:27 +0200

Hi guys
I'm having problems with creating a subset.

What I want to be able to do is this:
sum for s in S', forall S' where S' is a subset of Sc such that the size of S' = mc[c]

set S; /* The set of servers */
set C; /* The set of Cluster */
set Sc {c in C}; /* The set of servers in cluster c */
param mc {c in C}, integer, > 0;

Is there a way to do this with GMPL?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]