M
- Total activity 16
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 7
- Subscriptions 2
Activity overview
Latest activity by M-
M commented,
Hi Jaromił, thank you very much for the code example. I added it to my problem and now I receive the following error message: GurobiError: lower bound of x variable is less than zero for POW functi...
-
M commented,
Hi Jaromił, thank you! I added the constraint as above. However, I have problems with the auxiliary variable since it refers to a function. How would you add it? Furthermore, I have more than 1 mil...
-
M commented,
Hi Jaromił, thank you very much for your comment. I applied it in this way: m.setObjective(sum( f * x[i] + y for i in I), GRB.MINIMIZE) m.addGenConstrPow(((v * ( x[i] * Q[i])) for i in I), y, 0.4,...
-
M created a post,
How to include float exponents into objective function?
AnsweredDear community, I screened the recent posts, however, did not find a solution to my problem. I would like to use exponents as floats in my objective function. However, it does not work. Here is an ...
-
M commented,
Dear Jaromił, thank you very much for your response. So I added the variable and it does still not work. Do I need the following constraint: m.addConstr(y - x * y * m == 1 )? If I run the model wit...
-
M commented,
Hi Jaromił, thank you very much for your response. Actually the .1 is not a constant but an input variable (m). The problem is like this: a / ((1- x * m ) * b) + c * (1 - x * d) a, b, c, d a...
-
M created a post,
Binary variable in divisor
AnsweredDear Community, I face a problem that I could not completely solve: x is my binary decision variable that determines if a facility should be opened (x=1) or not (x=0) (10)/((1- x * .1) * 100) + s ...