zichun ji
- 合計アクティビティ 11
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 2
- サブスクリプション 3
アクティビティの概要
zichun jiさんの最近のアクティビティ-
zichun jiさんが投稿を作成しました:
I add constraint with '>=' but in the model it is <= 0
ユーザーの入力を待っています。I add some linear constr to the gurobi LP model as follow: """ constraint (2)"""for t in range(1, data.round_num + 1):for p in range(1, data.parklot_num + 1):con_name_2 = f'cons_(2)_{t}_{p}'self.co...
-
zichun jiさんがコメントを作成しました:
Thank you, Ronald. Problem solved.
-
zichun jiさんが投稿を作成しました:
How can I get the value of sub-optimal solutions in solpool by var name?
回答済みI can get the value of optimal solution by m.getVarByName(), I wonder how can I do this to other solutions in the solution pool? only found .Xn to get all the value, without var name information.
-
zichun jiさんがコメントを作成しました:
MANY THANKS! Turning the type to binary works.
-
zichun jiさんがコメントを作成しました:
THANKS. The variables are all continuous type, and comes out to be 0 or 1 in the solution. I can't find the article, is there any link?
-
zichun jiさんが投稿を作成しました:
How to store multiple solutions with the same objVal in my SolPool?
回答済みI have set the solution params according to online tutorial as follow. model_handler.build_sp(data)model_handler.SP.Params.PoolSolutions = 30model_handler.SP.Params.PoolSearchMode = 2model_handler....