IlBaldo/NLP4LP-bucket / data /103 /problem_info.json
IlBaldo's picture
download
raw
4.01 kB
{
"parametrized_description": "A lab has TotalAvailableMRNA available to produce children's and adult vaccines. Each children's vaccine requires MRNAPerChildrenVaccine of mRNA and FeverSuppressantPerChildrenVaccine of fever suppressant. Each adult vaccine requires MRNAPerAdultVaccine of mRNA and FeverSuppressantPerAdultVaccine of fever suppressant. At least MinAdultVaccineProportion of the total vaccines must be adult vaccines, and at least MinChildVaccines children's vaccines must be produced. The objective is to determine the number of each type of vaccine to minimize the total amount of fever suppressant used.",
"keywords": [
"N.A."
],
"parameters": {
"TotalAvailableMRNA": {
"description": "Total available mRNA",
"shape": []
},
"MRNAPerChildrenVaccine": {
"description": "Amount of mRNA required for each children's vaccine",
"shape": []
},
"MRNAPerAdultVaccine": {
"description": "Amount of mRNA required for each adult vaccine",
"shape": []
},
"FeverSuppressantPerChildrenVaccine": {
"description": "Amount of fever suppressant used in each children's vaccine",
"shape": []
},
"FeverSuppressantPerAdultVaccine": {
"description": "Amount of fever suppressant used in each adult vaccine",
"shape": []
},
"MinAdultVaccineProportion": {
"description": "Minimum proportion of vaccines that must be adult vaccines",
"shape": []
},
"MinChildVaccines": {
"description": "Minimum number of children's vaccines to be produced",
"shape": []
}
},
"variables": {
"ChildrenVaccine": {
"description": "The number of children's vaccines to be produced",
"type": "continuous",
"shape": []
},
"AdultVaccine": {
"description": "The number of adult vaccines to be produced",
"type": "continuous",
"shape": []
}
},
"constraints": [
{
"description": "The total amount of mRNA used by children's and adult vaccines cannot exceed TotalAvailableMRNA.",
"formulation": "MRNAPerChildrenVaccine \\cdot ChildrenVaccine + MRNAPerAdultVaccine \\cdot AdultVaccine \\leq TotalAvailableMRNA",
"code": {
"gurobipy": "model.addConstr(MRNAPerChildrenVaccine * ChildrenVaccine + MRNAPerAdultVaccine * AdultVaccine <= TotalAvailableMRNA)"
}
},
{
"description": "At least MinAdultVaccineProportion of the total vaccines produced must be adult vaccines.",
"formulation": "AdultVaccine \\geq MinAdultVaccineProportion \\cdot (AdultVaccine + ChildrenVaccine)",
"code": {
"gurobipy": "model.addConstr(AdultVaccine >= MinAdultVaccineProportion * (AdultVaccine + ChildrenVaccine))"
}
},
{
"description": "At least MinChildVaccines children's vaccines must be produced.",
"formulation": "ChildrenVaccine \\geq MinChildVaccines",
"code": {
"gurobipy": "model.addConstr(ChildrenVaccine >= MinChildVaccines, \"MinChildVaccinesConstraint\")"
}
}
],
"objective": {
"description": "Minimize the total amount of fever suppressant used, which is the sum of FeverSuppressantPerChildrenVaccine multiplied by the number of children's vaccines and FeverSuppressantPerAdultVaccine multiplied by the number of adult vaccines.",
"formulation": "Min \\, FeverSuppressantPerChildrenVaccine \\cdot ChildrenVaccine + FeverSuppressantPerAdultVaccine \\cdot AdultVaccine",
"code": {
"gurobipy": "model.setObjective(FeverSuppressantPerChildrenVaccine * ChildrenVaccine + FeverSuppressantPerAdultVaccine * AdultVaccine, GRB.MINIMIZE)"
}
}
}

Xet Storage Details

Size:
4.01 kB
·
Xet hash:
5f047d744888b536aeb97991377cc1281de471720fdec15b4d65f1df97ee8066

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