Hi Fred,
Thanks for your solution. It worked like a charm !
Search found 2 matches
- 4 years ago
- Forum: Modeling
- Topic: Assigning the minimum value of variables
- Replies: 2
- Views: 3610
- 4 years ago
- Forum: Modeling
- Topic: Assigning the minimum value of variables
- Replies: 2
- Views: 3610
Assigning the minimum value of variables
Hello, I'm currently working on a model, and have a problem. In my model a decision variable is calculated as follows: Binary variable x; Positive variable nd; Positive variable ds; C2(i,j).. ds(i,j) =e= x(i)*d(i,j); Then I need to find the minimum of ds(i,j) for each j and assign it as nd(j). I wro...