Riley Clement
-
Gurobi Staff
- 合計アクティビティ 1955
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 3ユーザー
- 投票 14
- サブスクリプション 792
コメント
Riley Clementによる最近のアクティビティ-
Hi Sudheer, This is the code snippet I use (which uses Python and pandas) import pandas as pdimport numpy as np# assumes your model is "m"A = np.abs(m.getA()).tocoo() # absolute-value coefficent ma...
-
Hi Aleksandrs, You can use numpy.reshape and Model.getAttr to do this concisely. For example: # setupimport gurobipy as gpimport numpy as npm = gp.Model()x = m.addVars(range(5), range(3), vtype="B...
-
Hi,Bruno Colonetti has done a good job and the formulation looks correct. I'd like to pose some strengthenings, using Bruno's notation.Note that \[a_{i-t} \leq x_i\]is a valid constraint for t = 0...
-
Hi Abderrahmen,There are two timings we are interested in.i) the time it takes to build the modelii) the time it takes to solve the modelquicksum helps with the first (it is faster than sum), not t...
-
Hi Mahnoor, Usually we'd recommend using gurobi-logtools for plotting this sort of information but the requirement that the graph is updated live means it is probably easier to not use gurobi-logto...
-
Hi James, This issue arises if you use ._vars in your code. We will likely avoid this error occurring in the next release but a simple workaround is to rename ._vars to something else. A better wo...
-
I've created a fork of Python-MIP in which I've implemented the necessary changes:https://github.com/venaturum/python-mip/tree/gurobi1200 If you are installing with pip then you can use the followi...
-
Hi Keita, Yes 3) will also be cleaned up by presolve. Any constraint with a single variable is a just a bound in disguise and presolve will adjust the bound of such a variable then remove the now-...
-
Hi Matheus,Which OS are you running? Is it 32 or 64 bit? (running `uname -m` in the terminal will probably tell you). - Riley
-
Hi Erdem, this post was actually converted into an internal ticket and answered there, as the poster is a commercial customer. The responses were as follows: When do MIP callbacks with where = ...