[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Question about set expression
From: |
Juan Pablo Caballero Villalobos |
Subject: |
[Help-glpk] Question about set expression |
Date: |
Thu, 7 Apr 2011 10:30:14 -0500 |
Hello for everyone involved in this amazing project.
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,
Thank you in advance for your attention and help.
Ing Juan Pablo Caballero
Universidad Javeriana,
Bogotá Colombia (SouthAmerica)
AVISO LEGAL: El presente correo electronico no representa la opinion o el
consentimiento oficial de la PONTIFICIA UNIVERSIDAD JAVERIANA. Este mensaje es
confidencial y puede contener informacion privilegiada la cual no puede ser
usada ni divulgada a personas distintas de su destinatario. Esta prohibida la
retencion, grabacion, utilizacion, aprovechamiento o divulgacion con cualquier
proposito. Si por error recibe este mensaje, por favor destruya su contenido y
avise a su remitente.
En este aviso legal se omiten intencionalmente las tildes.
Este mensaje ha sido revisado por un sistema antivirus, por lo que su contenido
esta libre de virus.
This e-mail has been scanned by an antivirus system, so its contents is virus
free.
<<winmail.dat>>
- [Help-glpk] Question about set expression,
Juan Pablo Caballero Villalobos <=