## Search found 4 matches

1 year ago
Forum: Syntax
Topic: logical equations & binary variables
Replies: 18
Views: 3308

### Re: logical equations & binary variables

Hi, I have one question for you Manassaldi. In my objective function I have this member that is z = [...]-TWC(j)*HS(j). Where HS(j)is a variable. Now, TWC(j) should be a parameter that works like this: TWC(j) = 0 when HS(j) < 1000 and TWC(j) = 3.21 when HS(j) >=1000. Any idea how to implement this i...
1 year ago
Forum: Syntax
Topic: Objective with if-condition
Replies: 28
Views: 3924

### Re: Objective with if-condition

Hi Guys, I run into this thread and i found it useful but it unfortunately it doesn't completely solve my problem. I'm running an optimization problem where I have to minimize my objective function. my objective function is, in a simplified version, the following one: z =e = sum(t, sum(i,production_...
1 year ago
Forum: Syntax
Topic: If Statement - Uncontrolled Set entered as a costant
Replies: 3
Views: 703