Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. set C; #set of districts
  2. set D in C cross C; #set of connections
  3. param t{D}; #time of using given connection
  4. var x{C}, binary; #Is Fire Station in the node?
  5. minimize z: sum{i in C} x[i]; #want to find minimal amount of FS to reach all nodes
  6. #time constraint: travel time to any district cant exceed 20min
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement