Created
October 19, 2022 04:14
-
-
Save upadhyan/d15f33bc75e8de1e4576fbc080a55e10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CONSTRAINTS | |
## Installation Budget | |
m.addConstr(i @ x <= B) | |
## Space | |
m.addConstr(s @ x <= S) | |
## Meet demand in each scenario | |
m.addConstrs(( | |
x + y[:,k] >= d_xi[:,k] for k in range(K) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment