Ryuta Tamura
Gurobi Staff- Total activity 140
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 97
Activity overview
Latest activity by Ryuta Tamura-
Ryuta Tamura commented,
Hi Mina, model.addGenConstrPow is used to create constraints \(x = n^a \) (x, n: variable, a: constant). You can use model.addGenConstrExpA to create constraints \(x = a^n \): model.addGenConstrExp...
-
Ryuta Tamura commented,
Hi,Your model looks large, so your program may have crashed due to memory problems. Optimize a model with 126144161 rows, 132451320 columns and 129520768 nonzeros Checking memory usage may reveal t...
-
Ryuta Tamura commented,
Hi, According to the part of your first post where you print input_vars: [<gurobi.LinExpr: 0.0 <gurobi.Var *Awaiting Model Update*>>, <gurobi.LinExpr: 0.0 <gurobi.Var *Awaiting Model Update*>>, <gu...
-
Ryuta Tamura commented,
Hi, If I understand correctly, you are interested in enumerating "all" feasible solutions. In such use case, SolutionPool feature and PoolSearchMode parameter might help. By setting PoolSearchMode ...
-
Ryuta Tamura commented,
Hi, The second argument of addGenConstrMax must be a list of "Var" object. It seems that your input_vars is a list of LinExpr object. In this case you can use auxiliary variables (e.g. vector a), a...
-
Ryuta Tamura commented,
Hi Xin Yu, Thank you for sharing the model! This looks a hard model. From the following code snippet: m.setObjective(r[0] * t, gp.GRB.MAXIMIZE) m.addConstr(t * r[3] == 1) the objective function ca...
-
Ryuta Tamura commented,
Hi, Bounds are now computed. It's the first step!Then, the value of the Incumbent solution(=12.48982) and the value of Bounds are far apart. Which value is assumed to be closer to objective functio...
-
Ryuta Tamura commented,
Hi, The warning is shown in your log: Warning: Model contains variables with very large bounds participating in product terms. Presolve was not able to compute smaller bounds for ...
-
Ryuta Tamura commented,
In addition, when H=23, cap=12.500125 is obtained, at which time the objective function is 309.77262. Here, as we restrict the value of cap to smaller values, the objective value worsens to 310.319...
-
Ryuta Tamura commented,
Hi, On my side, the cap value is 12.50012500 when H=4, and it will be 12.159504406436357 after I set H = 24.(Not sure if this is the correct way to set this up. And for H greater than 25, the probl...