display section

hello,
I introduced a binary variable x(i,j) .and i multiply this into an equation.example :

cost=e=x(i,j)*f(i,j)*price


and in the display section if I write display " cost.L " it gives me 0 .and if I write " display cost.up " it gives "+INF " .what should i do to display the actual value of the cost variable??

thank you very much


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\

Hi Mohamad

The right option is “.L”. The .up value is the upper limit, the .lo value is the lower limit, the .m is the marginal value, and .L means the “level”, that is, the current value of the variable at the solution, which might be zero…if it makes no sense, then you might check the model.

Regards





MC. José Miguel Quesada Pérez
Departamento de Ingeniería Industrial

Tecnológico de Monterrey, Campus Querétaro

52 (442) 238 3100 Ext: 6349

Fax: (442) 238 32 70

Enlace intercampus: 8 0 776 6349


El contenido de este mensaje de datos no se considera oferta, propuesta o acuerdo, sino hasta que sea confirmado en documento por escrito que contenga la firma autógrafa del apoderado legal del ITESM. El contenido de este mensaje de datos es confidencial y se entiende dirigido y para uso exclusivo del destinatario, por lo que no podrá distribuirse y/o difundirse por ningún medio sin la previa autorización del emisor original. Si usted no es el destinatario, se le prohíbe su utilización total o parcial para cualquier fin.

The content of this data transmission is not considered as an offer, proposal, understanding, or agreement unless it is confirmed in a document signed by a legal representative of ITESM. The content of this data transmission is confidential and it is intended to be delivered only to the addresses, therefore, it shall not be distributed and/or disclosed through any mean without the original sender’s previous authorization. If you are not the addressee you are forbidden to use it, either totally or partially, for any purpose.



From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Mohamad Dehghani
Sent: jueves, 14 de marzo de 2013 05:52 a.m.
To: gamsworld@googlegroups.com
Subject: display section



hello,

I introduced a binary variable x(i,j) .and i multiply this into an equation.example :



cost=e=x(i,j)*f(i,j)*price





and in the display section if I write display " cost.L " it gives me 0 .and if I write " display cost.up " it gives "+INF " .what should i do to display the actual value of the cost variable??



thank you very much


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\