FEI XUE
- 合計アクティビティ 21
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 6
アクティビティの概要
FEI XUEさんの最近のアクティビティ-
FEI XUEさんがコメントを作成しました:
Doctor Jonasz Thank you very much. It helps me a lot.
-
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...
-
FEI XUEさんがコメントを作成しました:
Mr.Jonasz Thanks for your reply. I'm doing a matching problem, please let me describe it in more detail. When there are 6 people, there will be a matching situation like the one shown in the figure...
-
FEI XUEさんがコメントを作成しました:
Mr.Jonasz Thanks for your reply. When n is 6, I want the result of variable apij to be as follows: apij=np.array([[[0,1,0,0,0,0],[1,0,0,0,0,0],[0,0,0,1,0,0],[0,0,1,0,0,0],[0,0,0,0,0,1],[0,0,0,0,1,0...
-
FEI XUEさんがコメントを作成しました:
Mr.Jonasz Thanks for your reply. This is my code. space=gurobipy.Model('matchpattern')n=6nn=15apij=space.addVars(range(1,nn+1), range(1,n+1), range(1,n+1),vtype=gurobipy.GRB.BINARY)、 space.update()...
-
FEI XUEさんが投稿を作成しました:
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 ...
-
FEI XUEさんが投稿を作成しました:
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...
-
FEI XUEさんがコメントを作成しました:
Mr.Najman Thank you for your response. I will pay attention at next time.
-
FEI XUEさんが投稿を作成しました:
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!
-
FEI XUEさんがコメントを作成しました:
Mr. Towle thank you for your reply. I will try again.