![](https://secure.gravatar.com/avatar/4c7d38e6a3f5f52d0fd6a668523861e5?default=https%3A%2F%2Fassets.zendesk.com%2Fhc%2Fassets%2Fdefault_avatar.png&r=g)
Mandar U
- Total activity 4
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 1
Activity overview
Latest activity by Mandar U-
Mandar U commented,
I understand. My question is, how can I add this constraint back to the model?
-
Mandar U created a post,
how to remove and add back a constraint?
Answeredimport gurobipy as grbmodel = grb.read('model.lp')model.optimize()c = model.getConstrByName('budget')c.__dict__# this shows NULL object : {'_cmodel': <capsule object NULL at 0x1063e6420>, '_rowno':...