Concept Architecture
Integer Programming for Funding Indivisible Programmes and Medicines Within a Budget
Integer programming gives a health system payer a formal way to pick the package of programmes, medicines or services that delivers the most health, usually counted in QALYs, without spending more than a fixed budget. Each candidate becomes a yes-or-no decision variable, and that matters because most funding decisions cannot be taken in fractions. When options are indivisible, ranking them by cost per QALY and funding down the list until the money runs out can miss the best affordable package. Earnshaw and Dennett suggested that formulary, drug development and pricing decisions could benefit from mathematical programming.
The fixed-budget funding decision as a knapsack problem
The second report of the ISPOR good practices task force on optimisation methods treats the fixed-budget funding decision as an obvious example of constrained optimisation, describing a planner with a number of investment opportunities and a fixed budget that cannot fund them all. It frames choosing the best set to fund, for example to maximise total QALYs, as an optimisation problem, citing the operations research literature on knapsack problems. In health care the knapsack is the budget and the items are programmes or medicines.
The first task force report names the building blocks of any such model as an objective function to maximise or minimise, decision variables that represent the choices, constraints that restrict those choices (often resources), and parameters such as the cost of each treatment. For a payer choosing which of new options to add to current care, the simplest binary version is as follows.
where is the QALY gain from funding option instead of current care, is the cost that option would draw from the budget over the budget period, is the budget available and equals 1 if option is funded and 0 if it is not. The objective and the constraint are linear, so the only difference from linear programming is that each must be a whole number. The costs are what a budget impact analysis estimates for each option; the QALY gains come from the appraisal models. Integer variables can also count indivisible units, such as clinics, scanners or staff posts, rather than take only the values 0 and 1.
Why indivisibility breaks the cost-per-QALY ranking rule
The familiar shortcut is to rank options by their incremental cost-effectiveness ratio, as in a cost-effectiveness league table, and fund from the top until the budget is exhausted. Sendi and Al point out that this classical decision rule assumes health care programmes are completely divisible, and argue that they cannot be, since individuals are not divisible; they therefore propose an integer programming approach to budget allocation in place of a linear one. Stinnett and Paltiel had earlier argued that previous treatments of budget-constrained allocation rested on unnecessarily restrictive assumptions, and showed that a general mathematical programming framework can handle partial and complete indivisibility, returns to scale and dependence between programmes.
The link with the cost-effectiveness threshold runs through the shadow price of the budget. The second ISPOR report notes that, under a strict set of assumptions, the threshold is the inverse of the shadow price of the budget constraint, the shadow price being how much the objective in QALYs would rise for one more unit of budget. When options are independent and can be scaled smoothly at a constant cost per QALY, funding in ICER order until the budget runs out reproduces the optimum, and the ICER of the last option funded is the threshold. With all-or-nothing options it need not, and the shadow price, and so the threshold link, is only approximate, because the last affordable option can leave money unspent while a different combination would have used the whole budget for more health.
Epstein and colleagues describe the practical gap. The standard rules of cost-effectiveness analysis require either a threshold or a fixed overall budget, neither is generally set in practice, and the rule actually followed may be inconsistent with the budget and cannot identify which programme should be displaced at the margin. They describe mathematical programming as a generalisation of the standard decision rules.
Worked example with four indivisible programmes and a 10 million pound budget
The programmes, costs and QALY gains below are illustrative. A regional payer has £10 million for new programmes over the budget period, and each programme must be funded in full or not at all.
| Programme | Cost (£ million) | QALYs gained | Cost per QALY (£) |
|---|---|---|---|
| A | 6 | 240 | 25,000 |
| B | 5 | 190 | 26,316 |
| C | 5 | 185 | 27,027 |
| D | 2 | 50 | 40,000 |
1. Ratios. Programme A costs 6,000,000 / 240 = £25,000 per QALY, B costs 5,000,000 / 190 = 26,316, C costs 5,000,000 / 185 = 27,027 and D costs 2,000,000 / 50 = 40,000.
2. The ranking rule. Funding in ratio order buys A first, leaving 10 − 6 = 4 million. B and C each cost 5 million and no longer fit, so they are skipped; D fits, leaving 4 − 2 = 2 million unspent. The package A plus D costs 8 million and gains 240 + 50 = 290 QALYs.
3. The integer optimum. Four binary variables give 2 × 2 × 2 × 2 = 16 possible packages. Eight of them fit the budget besides funding nothing, namely A, B, C and D alone, A plus D (8 million, 290 QALYs), B plus C (10 million, 375 QALYs), B plus D (7 million, 240 QALYs) and C plus D (7 million, 235 QALYs). Every package with three or four programmes costs at least 12 million. The optimum is B plus C, which uses the whole budget and gains 190 + 185 = 375 QALYs.
4. The divisible benchmark. If programmes could be funded in fractions, the linear programming answer would be all of A plus 4/5 of B, giving 240 + 0.8 × 190 = 392 QALYs. Rounding that fraction down leaves A alone, and rounding it up breaks the budget, which is the trap the first ISPOR report warns about, since a rounded linear solution may be infeasible, or feasible but not optimal.
5. Interpretation. The optimum gains 375 − 290 = 85 more QALYs than the ranking rule, about 29% more, for the same budget, and it does so by skipping the programme with the best ratio. The gap between 392 and 375 QALYs is the health lost purely to indivisibility.
Mixed-integer extensions for set-up costs, capacity and equity
Mixed-integer programming combines binary choices with continuous ones. A screening or vaccination programme may need a fixed set-up cost before anyone can be covered, after which coverage can be scaled, as below.
where is the set-up cost of programme , is 1 if it is set up, is the cost per person covered, is the number covered and the eligible population. Coverage can be positive only if the set-up cost is paid, which is the partial indivisibility and returns to scale that Stinnett and Paltiel showed a programming framework can absorb.
Further constraints add other limits. The first ISPOR report notes that capacity constraints are usually neglected in health economic models although planners cannot ignore them; limits on staff, beds or consultation time enter as extra inequalities in the same variables.
Equity concerns can be written as constraints too. Epstein and colleagues argue that indivisibility within a patient population is in effect a concern for horizontal equity, represent this and other equity concerns as constraints, and estimate the opportunity cost of each, and Stinnett and Paltiel showed how ethical constraints yield an explicit cost of equity. In the illustrative example, a rule that programme D must be funded because it serves the group with the worst health gives a best package of A plus D at 290 QALYs (the same package the ranking rule picked), so the equity rule costs 375 − 290 = 85 QALYs. A linear programming model of four interventions for newly diagnosed type 2 diabetes by Earnshaw and colleagues likewise maximised QALYs under budget and equity constraints and found the effect of the equity constraints extensive.
Realistic problems are solved by algorithms, not enumeration. The second ISPOR report names branch-and-bound as an exact method for mixed-integer models and notes that large models may need heuristics that give a good but not necessarily optimal solution in reasonable time; its cervical cancer case was solved in Microsoft Excel with the Solver add-in.
Using the results in health technology assessment
The model returns a package, the health it buys and, by re-solving with constraints removed or tightened, the health forgone to each constraint. The second ISPOR report concludes that such methods show decision makers the optimal target and the size of the loss of benefit, or rise in cost, associated with the choice finally made. That makes the opportunity cost of a budget rule, an equity rule or a capacity limit visible in QALYs.
The first ISPOR report observes that the focus of health economics is usually relative efficiency without explicit consideration of the budget, because many jurisdictions do not implement a constrained budget explicitly. Earnshaw and Dennett list simultaneous handling of several constraints and built-in sensitivity analysis among the attractions of mathematical programming models, while noting that their use in economic evaluations of new technologies had been limited. Re-running the model across a range of budgets, as the cervical cancer case did when it varied the budget from 20% below to 150% above the pre-vaccination level, shows which options enter or leave the package as funding changes and supports marginal analysis of what to add or remove.
Limitations and common misreadings
The optimum is only as good as the candidate list and the inputs. The model needs costs and QALY gains for every option on a common basis, and when Mason, Drummond and Torrance examined the source studies behind a published league table they found differences in year of origin, discount rates, health state valuations, settings and comparators; the same incompatibilities carry into an integer programming model. The simple binary form also assumes that each option's costs and benefits add up independently, yet the second ISPOR report gives infectious disease as a case where investing in vaccination may leave fewer cases to treat, so options interact, and the interaction has to be written into the model with extra variables or constraints.
A deterministic model treats every cost and QALY as fixed; the first ISPOR report contrasts this with stochastic optimisation, where uncertainty is built in. Sendi and Al extend the integer approach to maximise expected effects while limiting the probability of exceeding the budget to a chosen level such as 0.05, Al and colleagues replace the fixed budget with a flexible one governed by a value function over money and health, and McKenna and colleagues develop a two-stage stochastic formulation in which the value of further research depends on the budgetary policy and the remedial actions available. Stochastic programming and robust optimisation have their own pages.
Three misreadings follow from the example. As the example shows, a package that skips the option with the best ratio is not automatically wrong. Rounding a linear programming answer is not the same as solving the integer problem. An optimal package is optimal only for the stated objective and constraints, so concerns left out of the model, such as severity or need not captured by QALYs, still require deliberation.
Sources
- Al MJ, Feenstra TL, van Hout BA. Optimal allocation of resources over health care programmes: dealing with decreasing marginal utility and uncertainty. Health Economics. 2005;14(7):655-667. https://doi.org/10.1002/hec.973
- Crown W, Buyukkaramikli N, Thokala P, Morton A, Sir MY, Marshall DA, Tosh J, Padula WV, Ijzerman MJ, Wong PK, Pasupathy KS. Constrained optimization methods in health services research: an introduction. Report 1 of the ISPOR Optimization Methods Emerging Good Practices Task Force. Value in Health. 2017;20(3):310-319. https://doi.org/10.1016/j.jval.2017.01.013
- Crown W, Buyukkaramikli N, Sir MY, Thokala P, Morton A, Marshall DA, Tosh JC, Ijzerman MJ, Padula WV, Pasupathy KS. Application of constrained optimization methods in health services research: report 2 of the ISPOR Optimization Methods Emerging Good Practices Task Force. Value in Health. 2018;21(9):1019-1028. https://doi.org/10.1016/j.jval.2018.05.003
- Earnshaw SR, Dennett SL. Integer/linear mathematical programming models: a tool for allocating healthcare resources. PharmacoEconomics. 2003;21(12):839-851. https://doi.org/10.2165/00019053-200321120-00001
- Earnshaw SR, Richter A, Sorensen SW, Hoerger TJ, Hicks KA, Engelgau M, Thompson T, Narayan KMV, Williamson DF, Gregg E, Zhang P. Optimal allocation of resources across four interventions for type 2 diabetes. Medical Decision Making. 2002;22(5 Suppl):S80-S91. https://doi.org/10.1177/027298902237704
- Epstein DM, Chalabi Z, Claxton K, Sculpher M. Efficiency, equity, and budgetary policies: informing decisions using mathematical programming. Medical Decision Making. 2007;27(2):128-137. https://doi.org/10.1177/0272989X06297396
- Mason J, Drummond M, Torrance G. Some guidelines on the use of cost effectiveness league tables. BMJ. 1993;306(6877):570-572. https://doi.org/10.1136/bmj.306.6877.570
- McKenna C, Chalabi Z, Epstein D, Claxton K. Budgetary policies and available actions: a generalisation of decision rules for allocation and research decisions. Journal of Health Economics. 2010;29(1):170-181. https://doi.org/10.1016/j.jhealeco.2009.11.005
- Sendi P, Al MJ. Revisiting the decision rule of cost-effectiveness analysis under certainty and uncertainty. Social Science & Medicine. 2003;57(6):969-974. https://doi.org/10.1016/S0277-9536(02)00477-X
- Stinnett AA, Paltiel AD. Mathematical programming for the efficient allocation of health care resources. Journal of Health Economics. 1996;15(5):641-653. https://doi.org/10.1016/S0167-6296(96)00493-6
Related Concepts (5)
Functions & Formulae (1)
p(c_i, q_i, B) = (x_i, H_star)
Integer optimum of the 0-1 funding problem for four indivisible programmes with its gaps to a funding rule and to the divisible fill
H_star = max(max(max(max(max(max(max(max(max(max(max(max(max(max((c_1 <= B) * q_1, (c_2 <= B) * q_2), (c_3 <= B) * q_3), (c_4 <= B) * q_4), (c_1 + c_2 <= B) * (q_1 + q_2)), (c_1 + c_3 <= B) * (q_1 + q_3)), (c_1 + c_4 <= B) * (q_1 + q_4)), (c_2 + c_3 <= B) * (q_2 + q_3)), (c_2 + c_4 <= B) * (q_2 + q_4)), (c_3 + c_4 <= B) * (q_3 + q_4)), (c_1 + c_2 + c_3 <= B) * (q_1 + q_2 + q_3)), (c_1 + c_2 + c_4 <= B) * (q_1 + q_2 + q_4)), (c_1 + c_3 + c_4 <= B) * (q_1 + q_3 + q_4)), (c_2 + c_3 + c_4 <= B) * (q_2 + q_3 + q_4)), (c_1 + c_2 + c_3 + c_4 <= B) * (q_1 + q_2 + q_3 + q_4)); G_rule = H_star - H_rule; L_ind = H_div - H_star
Library
Publications
10
Revisiting the decision rule of cost-effectiveness analysis under certainty and uncertainty — Sendi P, Al MJ, Vol. 57, No. 6, pp. 969-974 ed., 2003 (Social Science & Medicine)
Paper revisiting the decision rule of cost-effectiveness analysis, cited for arguing that health care programmes cannot be completely divisible because individuals are not, for proposing integer rather than linear programming for budget allocation, and for limiting the probability of exceeding the budget to a chosen level such as 0.05.
Journal ArticleView source →Optimal allocation of resources over health care programmes: dealing with decreasing marginal utility and uncertainty — Al MJ, Feenstra TL, van Hout BA, Vol. 14, No. 7, pp. 655-667 ed., 2005 (Health Economics)
Paper on allocating resources across health care programmes that extends the usual framework of maximising health within a given budget to a flexible budget governed by a value function over money and health effects, cited as one of the stochastic extensions of programming methods for budget allocation.
Journal ArticleView source →Mathematical programming for the efficient allocation of health care resources — Stinnett AA, Paltiel AD, Vol. 15, No. 5, pp. 641-653 ed., 1996 (Journal of Health Economics)
Paper on mathematical programming for allocating health care resources, cited for arguing that earlier treatments rested on unnecessarily restrictive assumptions, for a general framework handling partial and complete indivisibility, returns to scale and programme interdependence, and for methods giving an explicit cost of equity.
Journal ArticleView source →Integer/linear mathematical programming models: a tool for allocating healthcare resources — Earnshaw SR, Dennett SL, Vol. 21, No. 12, pp. 839-851 ed., 2003 (PharmacoEconomics)
Review of integer and linear mathematical programming models for allocating health care resources, cited for suggesting that formulary, drug development and pricing decisions could benefit from them, for their handling of several constraints at once with built-in sensitivity analysis, and for noting their limited use in economic evaluations of new technologies.
Journal ArticleView source →Application of constrained optimization methods in health services research: report 2 of the ISPOR Optimization Methods Emerging Good Practices Task Force — Crown W, Buyukkaramikli N, Sir MY, Thokala P, Morton A, Marshall DA, Tosh JC, Ijzerman MJ, Padula WV, Pasupathy KS, Vol. 21, No. 9, pp. 1019-1028 ed., 2018 (Value in Health)
Second ISPOR task force report on applying constrained optimisation in health services research, cited for presenting the fixed-budget funding decision as an optimisation problem, for linking the threshold to the shadow price of the budget, and for a cervical cancer case solved with Excel Solver over a range of budgets.
Journal ArticleView source →Constrained optimization methods in health services research: an introduction. Report 1 of the ISPOR Optimization Methods Emerging Good Practices Task Force — Crown W, Buyukkaramikli N, Thokala P, Morton A, Sir MY, Marshall DA, Tosh J, Padula WV, Ijzerman MJ, Wong PK, Pasupathy KS, Vol. 20, No. 3, pp. 310-319 ed., 2017 (Value in Health)
First ISPOR task force report introducing constrained optimisation in health services research, cited for the components of an optimisation model, for showing that rounding a linear solution can be infeasible or suboptimal, for contrasting deterministic and stochastic optimisation, and for noting that capacity constraints are usually neglected in health economic models.
Journal ArticleView source →Budgetary policies and available actions: a generalisation of decision rules for allocation and research decisions — McKenna C, Chalabi Z, Epstein D, Claxton K, Vol. 29, No. 1, pp. 170-181 ed., 2010 (Journal of Health Economics)
Paper generalising decision rules for allocation and research decisions with a two-stage stochastic mathematical programming formulation, cited for showing that the value of further research depends on the budgetary policy in place and on the remedial actions available to the decision maker.
Journal ArticleView source →Optimal allocation of resources across four interventions for type 2 diabetes — Earnshaw SR, Richter A, Sorensen SW, Hoerger TJ, Hicks KA, Engelgau M, Thompson T, Narayan KMV, Williamson DF, Gregg E, Zhang P, Vol. 22, No. 5 Suppl, pp. S80-S91 ed., 2002 (Medical Decision Making)
Linear programming model that selected among four interventions for newly diagnosed type 2 diabetes to maximise quality-adjusted life years under varied budget and equity constraints, cited for finding that the impact of the equity constraints was extensive.
Journal ArticleView source →Efficiency, equity, and budgetary policies: informing decisions using mathematical programming — Epstein DM, Chalabi Z, Claxton K, Sculpher M, Vol. 27, No. 2, pp. 128-137 ed., 2007 (Medical Decision Making)
Paper on informing budgetary decisions with mathematical programming, cited for noting that neither a threshold nor a fixed budget is generally set in practice, for describing mathematical programming as a generalisation of the standard decision rules, and for treating indivisibility and other equity concerns as constraints with estimated opportunity costs.
Journal ArticleView source →A Taxonomy of Model Structures for Economic Evaluation of Health Technologies — Brennan, Chick & Davies, Vol. 15, No. 12 ed., 2006 (Health Economics)
An influential paper classifying decision-analytic model structures along axes of expected value vs randomness, entity heterogeneity, and Markovian vs non-Markovian structure — providing a framework for choosing between decision trees, Markov cohort models, microsimulation, discrete event simulation and system dynamics.
Journal ArticleView source →
Frequently Asked Questions (6)
What is integer programming?
Integer programming chooses which indivisible health programmes or medicines to fund to maximise health gain, such as QALYs, within a fixed budget.
Source: Crown et al. 2018
What is an example of an integer programming problem in health?
Integer programming suits allocation decisions where the answer must be a whole number because the thing being chosen cannot be split. Deciding how many clinics to open, how many ambulances to buy, or how many beds to add are examples, since half a clinic or a fractional ambulance is meaningless. The technique finds the combination of whole-number choices that best meets an objective within the constraints, such as maximising coverage within a budget. Rais and Viana (2011) review such applications in health.
Source: Rais & Viana 2011
How does integer programming differ from linear programming?
Integer programming differs from linear programming in requiring the decision variables, or some of them, to take integer values, whereas linear programming allows them to be continuous. This restriction suits decisions about indivisible quantities, but it makes the problem much harder, since the efficient methods that solve linear programs do not directly apply and the integer requirement creates a combinatorial problem. Integer programs are therefore solved by specialised methods and can be computationally demanding for large problems, unlike the relatively tractable linear program.
Source: Dantzig 1963
In integer programming, why are whole-number values required in some problems?
Whole-number values are required when the quantities being decided are indivisible, so that fractional solutions are meaningless: one cannot open half a clinic, hire a fraction of a nurse, or build part of a facility. In such cases the decision variables must be integers to represent feasible choices. Allowing fractional values, as linear programming would, could give a solution that cannot be implemented, so the integer restriction ensures the optimisation respects the discrete nature of the decision.
Source: Dantzig 1963
How is integer programming used in health?
In health, integer programming is used for resource allocation decisions involving discrete quantities, such as how many clinics, beds, or facilities to provide, where to locate services, or how to schedule staff and resources, subject to constraints like budgets and capacity. Because these decisions concern indivisible units, integer programming finds the combination that best meets the objective while respecting the constraints. It supports planning problems where the discrete nature of the choices must be captured for the solution to be feasible.
Source: Dantzig 1963
What are the limitations of integer programming?
Integer programming is computationally hard: requiring integer values turns the problem into a combinatorial one, so large problems can be very slow or impractical to solve exactly, and solution times can grow steeply with size. Formulating the problem correctly is also demanding, and the results depend on the accuracy of the objective and constraints, which may be uncertain. For large or complex problems, exact solutions may be infeasible, so approximate or heuristic methods are sometimes used instead.
Source: Dantzig 1963
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 27 Oct 2026
Content version: 1.0.2
Canonical Identity
- Term code
- HE-EM-DM-046
Stable URI · Machine-readable · Resolvable · CC BY 4.0
