FEI XUE
- 合計アクティビティ 21
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 6
投稿
FEI XUEによる最近のアクティビティ-
How to output all feasible solutions?
回答済みfrom gurobipy import *import numpy as npimport mathspace=gurobipy.Model('matchpattern')n=6pij=space.addVars(range(1,n+1), range(1,n+1),vtype=gurobipy.GRB.BINARY) space.update()space.setObjective(qu...
-
How to constrain my variables
進行中I have a three-dimensional binary variable apij[p,i,j].When p is different, for example there are p1 and p2. What constraints should I add to make the ixj matrix corresponding to p1 different from ...
-
How to display more outputs?
回答済みI wrote a program and output all feasible solutions at the same time.But when the number of feasible solutions increases, I cannot view all the outputs.How can I make the output window display more...
-
How to view the result history?
回答済みDear staff: I closed Spyder after gurobi calculated the result due to my mistake.I haven't had time to see the results.Can I still find the calculated result? Thank you very much!
-
TypeError:object of type 'gurobipy.gurobipy.LinExpr' has no len()
回答済みI need to add some constraints into my model. The code and formula are as follows. for i in range(1, n - 1): for k in range(3, n): BASE.addConstr( ntk3[i, k] == min_...
-
How to add a constraint to express the objective function as an even number?
回答済みDear staff: I now want to add a constraint, which means that the value of the objective function is even. The objective function is the sum of multiple items, and quicksum() is used. Is it impossi...