matrix modeling
回答済みHi all,
I'm trying to formulate the following objective in Gurobi:

model = gp.Model("model1")
W = model.addMVar((2, 2), lb=-GRB.INFINITY, ub=GRB.INFINITY)
s0 = np.array((1, 1))
s1 = np.array((1, 2))
I don't know how to formulate the objective and the constrains without getting errors.
Can someone hint me on how can I formulate it in Gurobi?
Thanks!!
1
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
I recommend you take a look through some of the Gurobi Examples. In particular, you can check out the following for good hints
0
投稿コメントは受け付けていません。
コメント
2件のコメント