Carlos Martin
- 合計アクティビティ 14
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 4
アクティビティの概要
Carlos Martinさんの最近のアクティビティ-
Carlos Martinさんがコメントを作成しました:
Silke Horn Under the C API, I get a segfault whenever I call GRBnewmodel inside an OMP parallel for loop, e.g. #pragma omp parallel for // works when this line alone is commentedfor (long batch = 0...
-
Carlos Martinさんがコメントを作成しました:
Eli Towle Thanks, that seems to work. Is there a way to change the default for OutputFlag globally (e.g. through some system-wide environment variable or setting)?
-
Carlos Martinさんがコメントを作成しました:
I see there's a Feature Requests subforum, should I post this there? I suppose the ideal interface might look something like def max_min(batch): model = gurobipy.Model() v = model.addMVar(bat...
-
Carlos Martinさんが投稿を作成しました:
Messages being printed to standard output when library is loaded
回答済みCurrently, Using license file /Users/[username]/gurobi.licAcademic license - for non-commercial use only is printed to standard output every time I run a Python script that uses Gurobi (e.g. when e...
-
Carlos Martinさんがコメントを作成しました:
Robert Luce Here is an example: Solving batches of two-player zero-sum normal-form games. I get times like gurobi 0.37076228499999986cvxopt 0.009740684000000055gurobi 0.39596498599999985cvxopt 0.00...
-
Carlos Martinさんがコメントを作成しました:
More generally, are there plans to add a completely vectorized interface like that of cvxopt.solvers.lp (ideally with the addition of a batch dimension)? This would be extremely useful. Currently c...
-
Carlos Martinさんがコメントを作成しました:
@... That yields the following error: Traceback (most recent call last):...model.addMConstrs(u[:, :, i], x, '>', v)File "model.pxi", line 3414, in gurobipy.Model.addMConstrsTypeError: object of typ...
-
Carlos Martinさんが投稿を作成しました:
Vectorizing addition of constraints
I'm using the Python API. Is there a vectorized way to add the following constraints? model.addConstrs(( v <= u[:, :, i] @ x for i in range(u.shape[2]))) where v and x are MVars, e.g. v.shape...
-
Carlos Martinさんがコメントを作成しました:
Model creation overhead is exactly what I'm concerned about, since I'm trying to solve a very large batch of small-to-medium-sized LPs. For example, I'm wondering about the overhead of calling GRBn...
-
Carlos Martinさんが投稿を作成しました:
Solving LPs sequentially versus one large LP with non-interacting variables/constraints
回答済みSuppose I'm solving ~1000 linear programs with ~10 variables and ~100 constraints each. Is it faster to solve these sequentially (creating a new model each time) or to create a single large linear ...