
David Torres Sanchez
- Total activity 221
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 29
- Subscriptions 80
Activity overview
Latest activity by David Torres Sanchez-
David Torres Sanchez commented,
Hi Goran, Can you try writing the MPS/LP file from Pyomo and then using the Gurobi command to compute the IIS?I don't know enough about Pyomo to understand why your approach doesn't work. gurobi_cl...
-
David Torres Sanchez commented,
Hi Brannon, Each variable has a VBasis attribute with values: 0 (basic), -1 (non-basic at lower bound), -2 (non-basic at upper bound), and -3 (super-basic). Each linear constraint has CBasis attr...
-
David Torres Sanchez commented,
Hi Yifan,I've created an internal ticket for this request. Cheers, David
-
David Torres Sanchez commented,
Hi Zakarya, Using \(\texttt{getVarByName("x1")}\) will return a GRBVar. You cannot print this to stdout. You can, however, print its value or its name as shown in our mip1_c++.cpp example. Cheers, ...
-
David Torres Sanchez commented,
Hi, This means that you don't have write permissions in your directory.Either re-run the command as sudo, or move this folder to somewhere where you have read permissions. Cheers, David
-
David Torres Sanchez commented,
Hi Bhartendu, I can spot several improvements. First, the cost of the \(\texttt{s_t}\) variables needs to be something higher than the cost of the future variables (currently this is not the case a...
-
David Torres Sanchez commented,
Hi Birkan, You can add these separately as standard constraints. As opposed to including them in the variable definition you are trying. for i in I: model.addConstr(w_u[i] >= w_m[i]) model.ad...
-
David Torres Sanchez commented,
Hi, Have you tried the steps in our article: How do I resolve "undefined reference" errors while linking Gurobi in C++? Cheers, David
-
David Torres Sanchez commented,
Hi Jiajie,Please see the following similar community post.Cheers, David
-
David Torres Sanchez commented,
Hi Zhizhen, The error comes from the bounds of the resulting sin variables, the ones containing \(\texttt{out}\).The constraints imply these variables must be negative, but the default LB of a vari...