i am a new in Cplex , so i want to know how to declare a subset included in a set . i have a S_i : the set of flight i's Feasible start time tuples. and i declare this et like this :
int F=...;
range flights = 1..F; // set of flights
{int} S[flights]=...; //Set of feasible start time
and i have a subset S_i (w) ⊆ S_i denote the subset of feasible start time tuples , if w working stations assigned are assigned to flight i.
i declare :
int W=...;
range workingstations=1..W;
but i couldn' t know how to declare the subset, Please help!!!
works