Linear Programming, Optimization, Covid-19, Excel, Python.
vac_needed = 100000000*0.7*2 # Efficacy for each vaccine eff = [75, 95, 95, 70, 82.5] # New coefficient for linear constraint new_coeff = eff.copy() for i in range(len(eff)): new_coeff[i] = eff[i] - 80 # Cost for each vaccine cost = [4, 33, 20, 30, 70] สร้าง 2 constraint # Add constraints model +=