Mario Klostermeier
- Total activity 5
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
Comments
Recent activity by Mario Klostermeier-
Hello, this is not perfect but you don't need two loops. for i in A: model.addLConstr(z >= y[i,:], name=f"G1-{k}")
-
This is my solution so far. Is there a better way ? for w_index in range(model.NumObj): model.Params.ObjNumber = w_index model.update() model.ObjNWeight = weights[w_index] model.update()