IlBaldo/NLP4LP-bucket / data /141 /problem_info.json
IlBaldo's picture
download
raw
3.32 kB
{
"parametrized_description": "An international goods exporter uses ships and planes to transport goods. Each ship can carry ShipCapacity containers and consumes ShipFuel liters of fuel per trip. Each plane can carry PlaneCapacity containers and consumes PlaneFuel liters of fuel per trip. The company needs to transport at least MinContainers containers. Additionally, no more than MaxPlaneTrips plane trips can be made, and at least MinShipTripFraction of the total trips must be by ship. The objective is to minimize the total fuel consumption.",
"keywords": [
"N.A."
],
"parameters": {
"ShipCapacity": {
"description": "Capacity of a ship in containers",
"shape": []
},
"ShipFuel": {
"description": "Fuel usage of a ship per trip in liters",
"shape": []
},
"PlaneCapacity": {
"description": "Capacity of a plane in containers",
"shape": []
},
"PlaneFuel": {
"description": "Fuel usage of a plane per trip in liters",
"shape": []
},
"MinContainers": {
"description": "Minimum number of containers to transport",
"shape": []
},
"MaxPlaneTrips": {
"description": "Maximum number of plane trips",
"shape": []
},
"MinShipTripFraction": {
"description": "Minimum fraction of trips that must be by ship",
"shape": []
}
},
"variables": {
"ShipTrips": {
"description": "The number of ship trips",
"type": "continuous",
"shape": []
},
"PlaneTrips": {
"description": "The number of plane trips",
"type": "continuous",
"shape": []
}
},
"constraints": [
{
"description": "The total number of containers transported by ships and planes must be at least MinContainers.",
"formulation": "ShipTrips \\times ShipCapacity + PlaneTrips \\times PlaneCapacity \\geq MinContainers",
"code": {
"gurobipy": "model.addConstr(ShipTrips * ShipCapacity + PlaneTrips * PlaneCapacity >= MinContainers)"
}
},
{
"description": "No more than MaxPlaneTrips plane trips can be made.",
"formulation": "PlaneTrips \\leq MaxPlaneTrips",
"code": {
"gurobipy": "model.addConstr(PlaneTrips <= MaxPlaneTrips)"
}
},
{
"description": "At least MinShipTripFraction of the total trips must be by ship.",
"formulation": "ShipTrips \\geq MinShipTripFraction \\times (ShipTrips + PlaneTrips)",
"code": {
"gurobipy": "model.addConstr(ShipTrips >= MinShipTripFraction * (ShipTrips + PlaneTrips))"
}
}
],
"objective": {
"description": "Minimize the total fuel consumption, which is the sum of fuel used by ships and planes based on the number of trips made.",
"formulation": "Min \\ ShipFuel \\cdot ShipTrips + PlaneFuel \\cdot PlaneTrips",
"code": {
"gurobipy": "model.setObjective(ShipFuel * ShipTrips + PlaneFuel * PlaneTrips, GRB.MINIMIZE)"
}
}
}

Xet Storage Details

Size:
3.32 kB
·
Xet hash:
67c80d1ea135519fcfa09649f174994e3d5dc9ab5930eba9e139bc3b1560c8fa

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