Hi everyone,
Is there a way to “store” in a variable or a parameter the last value obtained in a different variable?
For example:
x(i)=y(i,a) if p=1 otherwise x(i)=0
Best Regards,
DT
–
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.
For more options, visit https://groups.google.com/groups/opt_out.
Daniela: Would this value be used in the calculations ? or What is it that you are trying to accomplish ?
Regards,
Claudio
On Wed, Nov 20, 2013 at 12:18 PM, DT wrote:
Hi everyone,
Is there a way to “store” in a variable or a parameter the last value obtained in a different variable?
For example:
x(i)=y(i,a) if p=1 otherwise x(i)=0
Best Regards,
DT
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.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Claudio,
So basically I have a variable that can have different values y(i,a), and I want to store the value obtained when a binary variable p=1. I need to use this value as an input for my objective function. So I thought to store this value in another variable or a parameter, to use it later on the objective function. I don’t know if this is possible.
Best Regards,
Daniela
Quarta-feira, 20 de Novembro de 2013 15:18:36 UTC, DT escreveu:
Hi everyone,
Is there a way to “store” in a variable or a parameter the last value obtained in a different variable?
For example:
x(i)=y(i,a) if p=1 otherwise x(i)=0
Best Regards,
DT
–
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.
For more options, visit https://groups.google.com/groups/opt_out.