> I have a question related with how to filter some elements 
> from a set by using conditional expressions.
> 
> For example, I have a set of elements made up by 3-tuples
> 
>    set O dimen 3; /* Operations of plates of Jobs (k, l, m) */
> 
> Later in a constraint, I just need to use the 3-tuples elements 
> which third entry is equal to an specific value: (J set elements 
> are composed by 1-tuples)
>  
>    s.t. completionTime{j in J,o in O: o=(*,*,j)}: 
> v_c[j] >= v_b[o]+sum{m in M} b_omega[o,m]*(p_a[o,m]*p_p[o,m]);
>   
> I have tried with this expression {j in J,o in O: o=(*,*,j)} but 
> it does not work.
> 
> I really appreciate any suggestion or direction about how to 
> overcome this problem,
> 

s.t. completionTime{j in J, (k,l,m) in O: m = specific_value}: ... ;



_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to