Search found 2 matches
- 1 year ago
- Forum: Syntax
- Topic: Need Work-Around for Conditional Check on a Variable
- Replies: 0
- Views: 2520
Need Work-Around for Conditional Check on a Variable
Hi all, I posted a couple of weeks back asking how to force a variable to take a non-zero value. I have since managed to achieve this using additional constraints, however I am now wondering how to solve the following problem I'm having with my MILP model. Below, I would essentially like to include ...
- 1 year ago
- Forum: Modeling
- Topic: Making a Variable Non-Zero
- Replies: 1
- Views: 992
Making a Variable Non-Zero
Hi all, I am currently working on a MILP problem that requires two variables to be either negative or positive, but not zero. Below, f(aij,t) is a variable that can be either negative or positive, which is calculated elsewhere in the model, while qout(aij,t) and qin(aij,t) are variables that are bot...