IlBaldo/NLP4LP-bucket / data /109 /problem_info.json
IlBaldo's picture
download
raw
3.64 kB
{
"parametrized_description": "A doctor's office takes the temperature of patients one by one using either an electronic or regular thermometer. The electronic thermometer takes TimeElectronicReading time per reading, while the regular thermometer takes TimeRegularReading time per reading. At least MinRatioElectronicToRegular times as many patients should have their temperature checked by the electronic thermometer as by the regular thermometer. Additionally, at least MinRegularPatients should have their temperature checked by the regular thermometer. Given TotalAvailableTime, maximize the number of patients whose temperature can be taken.",
"keywords": [
"N.A."
],
"parameters": {
"TimeElectronicReading": {
"description": "Time taken by electronic thermometer per reading",
"shape": []
},
"TimeRegularReading": {
"description": "Time taken by regular thermometer per reading",
"shape": []
},
"MinRatioElectronicToRegular": {
"description": "Minimum ratio of electronic thermometer uses to regular thermometer uses",
"shape": []
},
"MinRegularPatients": {
"description": "Minimum number of patients using regular thermometer",
"shape": []
},
"TotalAvailableTime": {
"description": "Total available time for temperature readings",
"shape": []
}
},
"variables": {
"ElectronicReadings": {
"description": "The number of electronic thermometer readings",
"type": "continuous",
"shape": []
},
"RegularReadings": {
"description": "The number of regular thermometer readings",
"type": "continuous",
"shape": []
}
},
"constraints": [
{
"description": "The total time taken by electronic and regular thermometer readings cannot exceed TotalAvailableTime.",
"formulation": "TimeElectronicReading \\times ElectronicReadings + TimeRegularReading \\times RegularReadings \\leq TotalAvailableTime",
"code": {
"gurobipy": "model.addConstr(TimeElectronicReading * ElectronicReadings + TimeRegularReading * RegularReadings <= TotalAvailableTime)"
}
},
{
"description": "At least MinRatioElectronicToRegular times as many patients should have their temperature checked by the electronic thermometer as by the regular thermometer.",
"formulation": "ElectronicReadings \\geq MinRatioElectronicToRegular \\times RegularReadings",
"code": {
"gurobipy": "model.addConstr(ElectronicReadings >= MinRatioElectronicToRegular * RegularReadings)"
}
},
{
"description": "At least MinRegularPatients must have their temperature checked by the regular thermometer.",
"formulation": "RegularReadings \\geq MinRegularPatients",
"code": {
"gurobipy": "model.addConstr(RegularReadings >= MinRegularPatients)"
}
}
],
"objective": {
"description": "The number of patients processed is the sum of patients checked by electronic and regular thermometers. The objective is to maximize this total number of patients within the available time and usage constraints.",
"formulation": "Max \\; (ElectronicReadings + RegularReadings)",
"code": {
"gurobipy": "model.setObjective(ElectronicReadings + RegularReadings, GRB.MAXIMIZE)"
}
}
}

Xet Storage Details

Size:
3.64 kB
·
Xet hash:
9f9c919184d42c5c21535692f9cfea92377d644fef2bc7278d45765c8038a4f8

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