Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- model.addConstr(z, GRB.GREATER_EQUAL, x, "z");
- model.addConstr(z, GRB.GREATER_EQUAL, -x, "z"); // error operator - is undefined
- model.addGenConstrAbs(z, x, "MyAbsValConstr");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement