Search found 7 matches

by Omi
3 months ago
Forum: Modeling
Topic: Modeling
Replies: 0
Views: 421

Modeling

Can you tell how can I split the value of decision variable x into x1 and x0? I have wrote a code and ran it. But only x1 is showing values, which is equal to x. I want to split larger demand into two x1 and x0. Addition of both will be x. I have attached my model and constraints. Thank you in advan...
by Omi
3 months ago
Forum: Modeling
Topic: Equation
Replies: 3
Views: 228

Re: Equation

Hello Renger, Thank you for your response. This is the code I tried to write for the above constraints 12 to 15. is this correct? x is a production amount for product j and I want to split this amount. ct3(j,t)..x(j,t)=e=x1(j,t)+x0(j,t); ct4(j,t)..x1(j,t)=l=M*z(j,t); ct5(j,t)..x0(j,t)=g=mi*(sum((jj)...
by Omi
3 months ago
Forum: Modeling
Topic: Equation
Replies: 3
Views: 228

Equation

In the attachment, 1) constraint 12 has variable x(i,t) but how write that constraint? Do I have to specify three variables x, x1, x0? where x is amount produced.

2) constraint 15, How to write last summation part which is multiplied by M? (k=t+1) to (s-1)

Thank you.
by Omi
3 months ago
Forum: Modeling
Topic: subset
Replies: 1
Views: 149

subset

How to code attachment?
s is subset of N with cardinality greater than 2.
where N is /J1*J6/
by Omi
3 months ago
Forum: Modeling
Topic: Conditional Binary
Replies: 1
Views: 157

Conditional Binary

How to code Binary Variable?
Y(I,t) 1 if ∑j T(j,I,t) + Z(I,t) >= 1,
0 Otherwise.

Thank you.
by Omi
3 months ago
Forum: Modeling
Topic: sum
Replies: 1
Views: 145

sum

how to code constraint 15 in the attachment?
where x(i,t) is variable.
by Omi
3 months ago
Forum: Modeling
Topic: summation
Replies: 1
Views: 126

summation

sets
i is number of Products
t is number of Periods
how to code the attachment?