IlBaldo/NLP4LP-bucket / data /157 /problem_info.json
IlBaldo's picture
download
raw
2.89 kB
{
"parametrized_description": "A mine transports TotalOre units of ore to the surface using small wagons with capacity SmallWagonCapacity and large wagons with capacity LargeWagonCapacity. The number of small wagons must be at least MinSmallToLargeRatio times the number of large wagons. Additionally, at least MinLargeWagons large wagons must be used. The objective is to minimize the total number of wagons required.",
"keywords": [
"N.A."
],
"parameters": {
"SmallWagonCapacity": {
"description": "Capacity of a small wagon in units of ore",
"shape": []
},
"LargeWagonCapacity": {
"description": "Capacity of a large wagon in units of ore",
"shape": []
},
"MinSmallToLargeRatio": {
"description": "Minimum ratio of small wagons to large wagons",
"shape": []
},
"MinLargeWagons": {
"description": "Minimum number of large wagons required",
"shape": []
},
"TotalOre": {
"description": "Total units of ore to be transported",
"shape": []
}
},
"variables": {
"SmallWagons": {
"description": "The number of small wagons",
"type": "continuous",
"shape": []
},
"LargeWagons": {
"description": "The number of large wagons",
"type": "continuous",
"shape": []
}
},
"constraints": [
{
"description": "The combined capacity of small and large wagons must be at least TotalOre units of ore.",
"formulation": "SmallWagons \\cdot SmallWagonCapacity + LargeWagons \\cdot LargeWagonCapacity \\geq TotalOre",
"code": {
"gurobipy": "model.addConstr(SmallWagons * SmallWagonCapacity + LargeWagons * LargeWagonCapacity >= TotalOre)"
}
},
{
"description": "The number of small wagons must be at least MinSmallToLargeRatio times the number of large wagons.",
"formulation": "SmallWagons \\geq MinSmallToLargeRatio \\times LargeWagons",
"code": {
"gurobipy": "model.addConstr(SmallWagons >= MinSmallToLargeRatio * LargeWagons)"
}
},
{
"description": "At least MinLargeWagons large wagons must be used.",
"formulation": "LargeWagons \\geq MinLargeWagons",
"code": {
"gurobipy": "model.addConstr(LargeWagons >= MinLargeWagons)"
}
}
],
"objective": {
"description": "The objective is to minimize the total number of wagons required.",
"formulation": "Min \\ SmallWagons + LargeWagons",
"code": {
"gurobipy": "model.setObjective(SmallWagons + LargeWagons, GRB.MINIMIZE)"
}
}
}

Xet Storage Details

Size:
2.89 kB
·
Xet hash:
dd5b12c59a024af4ccc60dd3152f0a7663ee12556b10915ec271000ab6e5d60a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.