Initial version

This commit is contained in:
2020-01-24 13:00:01 -06:00
commit ab644377b6
13 changed files with 1069 additions and 0 deletions

145
instances/samples/s1.json Normal file
View File

@@ -0,0 +1,145 @@
{
"products": {
"P1": {
"transportation cost": 1.50,
"initial amounts": {
"C1": {
"latitude": 7.0,
"longitude": 7.0,
"amount": 934.56
},
"C2": {
"latitude": 7.0,
"longitude": 19.0,
"amount": 198.95
},
"C3": {
"latitude": 84.0,
"longitude": 76.0,
"amount": 212.97
},
"C4": {
"latitude": 21.0,
"longitude": 16.0,
"amount": 352.19
},
"C5": {
"latitude": 32.0,
"longitude": 92.0,
"amount": 510.33
},
"C6": {
"latitude": 14.0,
"longitude": 62.0,
"amount": 471.66
},
"C7": {
"latitude": 30.0,
"longitude": 83.0,
"amount": 785.21
},
"C8": {
"latitude": 35.0,
"longitude": 40.0,
"amount": 706.17
},
"C9": {
"latitude": 74.0,
"longitude": 52.0,
"amount": 30.08
},
"C10": {
"latitude": 22.0,
"longitude": 54.0,
"amount": 536.52
}
}
},
"P2": {
"transportation cost": 2.00
},
"P3": {
"transportation cost": 1.25
},
"P4": {
"transportation cost": 1.75
}
},
"plants": {
"F1": {
"input": "P1",
"outputs": {
"P2": 0.2,
"P3": 0.5
},
"locations": {
"L1": {
"latitude": 0.0,
"longitude": 0.0,
"capacity": 500,
"opening cost": 2000,
"fixed operating cost": 70.0,
"variable operating cost": 70.0
},
"L2": {
"latitude": 0.5,
"longitude": 0.5,
"opening cost": 1000,
"capacity": 750,
"opening cost": 1000,
"fixed operating cost": 50.0,
"variable operating cost": 50.0
}
}
},
"F2": {
"input": "P2",
"outputs": {
"P3": 0.05,
"P4": 0.80
},
"locations": {
"L3": {
"latitude": 25.0,
"longitude": 65.0,
"capacity": 1000,
"opening cost": 3000,
"fixed operating cost": 50.0,
"variable operating cost": 50.0
},
"L4": {
"latitude": 0.75,
"longitude": 0.20,
"processing cost": 250.0,
"opening cost": 3000,
"fixed operating cost": 50.0,
"variable operating cost": 50.0
}
}
},
"F3": {
"input": "P4",
"locations": {
"L5": {
"latitude": 100.0,
"longitude": 100.0,
"opening cost": 0.0,
"fixed operating cost": 0.0,
"variable operating cost": -15.0
}
}
},
"F4": {
"input": "P3",
"locations": {
"L6": {
"latitude": 50.0,
"longitude": 50.0,
"opening cost": 0.0,
"fixed operating cost": 0.0,
"variable operating cost": -15.0
}
}
}
}
}

148
instances/samples/s2.json Normal file
View File

@@ -0,0 +1,148 @@
{
"products": {
"lead-acid batteries": {
"transportation cost": 0.0015,
"initial amounts": {
"Chicago": {
"latitude": 41.881944,
"longitude": -87.627778,
"amount": 175000.0
},
"Darien": {
"latitude": 41.745556,
"longitude": -87.981111,
"amount": 30000.0
},
"Westmont": {
"latitude": 41.794444,
"longitude": -87.976389,
"amount": 25000.0
},
"Milwaukee": {
"latitude": 43.05,
"longitude": -87.95,
"amount": 120000.0
}
}
},
"lead": {
"transportation cost": 0.0015
},
"lead ingots": {
"transportation cost": 0.0017
},
"plastic casings": {
"transportation cost": 0.0023
},
"plastic pellets": {
"transportation cost": 0.0020
}
},
"plants": {
"Disassembly Plant": {
"input": "lead-acid batteries",
"outputs": {
"lead": 0.60,
"plastic casings": 0.05
},
"locations": {
"Darien": {
"latitude": 41.745556,
"longitude": -87.981111,
"variable operating cost": 0.12,
"fixed operating cost": 1000,
"opening cost": 10000.0
},
"Lemont": {
"latitude": 41.668784,
"longitude": -87.988845,
"variable operating cost": 0.15,
"fixed operating cost": 1000,
"opening cost": 10000.0
},
"Greendale": {
"latitude": 42.9375,
"longitude": -87.996944,
"variable operating cost": 0.18,
"fixed operating cost": 1000,
"opening cost": 10000.0
}
}
},
"Plastic Recycling Plant": {
"input": "plastic casings",
"outputs": {
"plastic pellets": 0.9
},
"locations": {
"Milwaukee": {
"latitude": 43.05,
"longitude": -87.95,
"variable operating cost": 0.08,
"fixed operating cost": 1000,
"opening cost": 10000.0
},
"Chicago": {
"latitude": 41.881944,
"longitude": -87.627778,
"variable operating cost": 0.10,
"fixed operating cost": 1000,
"opening cost": 10000.0
}
}
},
"Lead Recycling Plant": {
"input": "lead",
"outputs": {
"lead ingots": 0.9
},
"locations": {
"Milwaukee": {
"latitude": 43.05,
"longitude": -87.95,
"variable operating cost": 0.20,
"fixed operating cost": 1000,
"opening cost": 10000.0
}
}
},
"Lead Sales Point": {
"input": "lead ingots",
"locations": {
"Chicago": {
"latitude": 41.881944,
"longitude": -87.627778,
"variable operating cost": -1.50,
"fixed operating cost": 1000,
"opening cost": 10000.0
},
"Milwaukee": {
"latitude": 43.05,
"longitude": -87.95,
"variable operating cost": -2.75,
"fixed operating cost": 0.0,
"opening cost": 0.0
}
}
},
"Plastic Sales Point": {
"input": "plastic pellets",
"locations": {
"Chicago": {
"latitude": 41.881944,
"longitude": -87.627778,
"variable operating cost": -0.50,
"fixed operating cost": 0.0,
"opening cost": 0.0
},
"Milwaukee": {
"latitude": 43.05,
"longitude": -87.95,
"variable operating cost": -0.62,
"fixed operating cost": 0.0,
"opening cost": 0.0
}
}
}
}
}