Mert Eroglu
- Total activity 11
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Activity overview
Latest activity by Mert Eroglu-
Mert Eroglu created a post,
Updating Lists Under Conditional Statements
AnsweredHello, I know that that if function is not using that way in de code snipet below. However i created a binary Z varible to satisfy newWarehouse[year] == 1. In that way i got: m.addConstr((z[i,j,ye...
-
Mert Eroglu commented,
I was getting the error despite calling optimize(), i guess there was a problem with my constraints. But i used another approach for my problem, for now. Thanks for your support.
-
Mert Eroglu commented,
Hello, thanks for your fast support. I implemented your codes into mine and printed: "No feasible solution available". Therefore why .x is not being used in my code, result i didn't understand tha...
-
Mert Eroglu created a post,
Unable to retrieve attribute 'x' error
AnsweredHello, Below, you can find my code's rows. However, i keep getting unable to retrieve 'x' error until i comment out the rows involve '.x' element. Both x and z variables has the same range and ele...
-
Mert Eroglu commented,
Oh OK, i thought adding such constraint would delete the - sign on the 0.0's but it's the same thing. Thanks for your support.
-
Mert Eroglu commented,
for j in range(n): for i in range(m): model.addConstr(y_2022[j,i] >= 0.5 + eps - M*(1-B)) model.addConstr(y_2022[j,i] <= 0.5 + M*(B)) model.addConstr((B==1) >> (y_2022[j,i] ...
-
Mert Eroglu commented,
Yeah, I set IntFeasTol to 1e-9 and IntegralityFocus to 1, but it didn't changed the outcome. Thanks for the fast reply.
-
Mert Eroglu created a post,
Binary Varibales get negative -0.0 values
AnsweredHello, How is it possible to get -0.0 when they are binary variables? Thanks.