Hello everyone,
I want to add a command in which if variable " f(i,j) " is lower than an amount, then it is omitted from the next equation .something like an “if and then command” .for example :
if f(i,j)=L=5, then put f(i,j)=e=0 .
(lets say f(‘1’,‘1’)=2 then we should have f(‘1’,‘1’)=e=0 for the next calculations.) .
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.
\
Dear Dehghani
Do u mean u are planning to use an iterative approach (algorithm)? Or in contrast, you need to consider that in a one (single) consolidated model?
For the former, u need to define a parameter (or a dynamic set) that updates the set of equations in each iteration (after each solve statement simply) .
For the latter, you need to use available modeling techniques. [most likely integer programming ]
I hope that can help as a small initiator .
Regards
Ù…Øمد صادق تولّلی
Mohammad Sadegh Tavallali
National University of Singapore
On Mon, Mar 18, 2013 at 6:48 PM, Mohamad Dehghani wrote:
Hello everyone,
I want to add a command in which if variable " f(i,j) " is lower than an amount, then it is omitted from the next equation .something like an “if and then command” .for example :
if f(i,j)=L=5, then put f(i,j)=e=0 .
(lets say f(‘1’,‘1’)=2 then we should have f(‘1’,‘1’)=e=0 for the next calculations.) .
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.
\