Dear All,
I am trying to define if then constraint for my model.
Somehow, I get error message at my two constraints and it says in feasible due to rhs 0.
How can I define my constraint that I can solve the problem.
I appreciate your help very much.
Regards
CLOW(p,t) Failure cost with low reliability
CHIGH(p,t) Failure cost with low reliability
GR Given Reliability
R(p,t) reliability of a product calculated based on Lambda at time period t
;
CLOW(p,t)=1000;
CHIGH(p,t)=50;
GR=0.5;
R(p,t)= Rc(p,t,“R”);
binary variables
Y1 binary variable
Y2 binary variable;
variable
h
;
Equations
Obj
Const1(p,t) if reliability of product less than a given reliability value, then Y one is equal to 1
Const2(p,t) reliability of product bigger than a given reliability value, then Y two is equal to 1
Const3 binary varible total
;
Const1(p,t)… Y1$(R(p,t)lt 0.5)=e=1;
Const2(p,t)… Y2$(R(p,t)gt 0.5)=e=1;
Const3… Y1+Y2=e=1;
Obj… h=e=sum((p,t),CLOW(p,t)*Y1)+sum((p,t),CHIGH(p,t)*Y2);
\
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/d/optout.