
ce jekl
- 合計アクティビティ 73
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 3
- サブスクリプション 22
投稿
ce jeklによる最近のアクティビティ-
Warm-start basis for mip in root relaxation
回答済みI am currently developing a set of heuristics that are similar to local branching. After incorporating all the local branching constraints into my model, my approach involves only modifying the con...
-
Pass a gurobi model from c++ to python
ユーザーの入力を待っています。Is it possible to pass the Gurobi model from c++ to python by reference or something like that, instead of writing the model to mps in c++ and reading the file in python? I have a project of which ...
-
pyomo with gurobi feasRelax
回答済みI need to use gurobi feasRelaxS, and my model is built in pyomo. Is there a way to use pyomo to solve a feasRelax model?
-
Solution to unbounded problems
回答済みIf gurobi detects the problem is unbounded, e.g. unbounded LP, what solution will be returned? For example, \[\begin{align}\min \alpha \\ s.t. x \ge 0 \end{align} \] what is the value of \(x\)?
-
Explanation for QP Logging
回答済みIs there any explanation for quadratic programming? I don't quite understand the logging of QP. What's the meaning of QLMatrix in the log? I have no coefficient less than 1, why there's a 7e-2 in ...
-
Sign of dual (pi) value
回答済みFrom the online doc, I know the sign of dual depends on the sense of constraints, but I'm confused with the following example: m.addConstr(x <= y)m.addConstr(x - y <= 0)m.addConstr(0 <= y - x)m.add...
-
Can't get constraint, like 0 <= 1, by name
回答済みI use model.addConstr(x.sum(i, '*') <= 1, f"constr_{i}") However, if x.select(i, '*') is empty, the constraint cannot be get by name. m = Model()c = m.addConstr(0 <= 1, "123")m.update()assert c is ...
-
Get rhs and objective coefficients [python]
回答済みI know gurobi have a getA() method to get constraint matrix. But how to get the rhs of all constraints and the objective coefficient vector?
-
fix variables to convert NLP to LP
回答済みI have a problem with the following form where f and h are linear functions, and g(x,y) is a nonlinear function. If I fix x, g(x,y) will be a non-convex quadratic function. If I fix y, g(x,y) will...
-
write solution which can be read back by rlp format
回答済みI want to write the model into rlp format and write a solution which can be read back by the generated model by reading the rlp file.Is there a way to do this in gurobi?