Ryuta Tamura
-
Gurobi Staff
- Total activity 108
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 39
Comments
Recent activity by Ryuta Tamura-
Hi, But I still do not understand, why gurobi does not accept the complete solution? Have you checked the return value of cbUseSolution? If the given solution is not accepted, the value will be...
-
Hi Noah, This article might be useful. This means that adding the constraint for the case of the binary variable is 0. For example: model.addGenConstrIndicator(CL_time_bin[i, (t_start, t_end)], Tru...
-
This model will be Infeasible: m = gp.Model()x = m.addVar(lb=10, ub=10, name="x")y = m.addVar(lb=0,ub=0, name="y")z = m.addVar(name="z")m.addGenConstrNL(z,x/y)m.optimize() As this description stat...
-
Hi, Please see this description. Gurobi implicitly tries to avoid division by zero. However, to avoid unexpected behavior, it is recommended to explicitly constrain the denominator to be non-zero s...
-
Hi Audrius, As the error message states, the objective function must be linear or quadratic. This can be resolved using auxiliary variable and addGenConstrNL method: obj = m.addVar(name="obj")m.add...
-
Hi Minseo, You can specify how to handle general function constraints by funcnonlinear parameter. When this parameter is 0, Gurobi uses static piecewise-linear approximation, and when it is 1, Guro...
-
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...
-
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...
-
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...
-
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 ...