- Introduced by
- Ralph E. Gomory
- Year
- 1958
- Type
- Exact combinatorial optimization
- Family
- Simulation / optimization
What does it do?
Deterministic Integer Programming (DIP) is an optimization approach for problems in which some or all decision variables must take integer values, and the objective and constraint data are fully known.
It is the non-stochastic form of integer programming: it extends linear programming by adding integrality requirements while keeping every parameter fixed. Its classical formulation dates from the late 1950s.
The intuition behind the method
Many real-world decisions are inherently discrete: you open a facility or you do not; you assign a worker to a shift or you do not. Continuous optimization methods cannot enforce these whole-number requirements. Deterministic Integer Programming handles this by restricting variables to integers while all problem parameters — costs, capacities, demands — are known with certainty. The result is an exact, provably optimal solution under that certainty assumption, making it the reference formulation against which stochastic and robust variants are compared.
History
Integer programming was developed as an extension of linear programming. Gomory's 1958 paper, cited on this page, outlines a cutting-plane algorithm for obtaining integer solutions to linear programs, and it is the earliest source cited here for the method. The word 'deterministic' distinguishes this classical formulation from stochastic integer programming, which models uncertain parameters explicitly. Branch-and-bound, which most modern solvers now combine with cutting planes, is the other principal component of exact integer solution methods.
When to use it
Choose Deterministic Integer Programming when some decisions are inherently discrete (assignment, scheduling, facility location, bin packing, network design), when all model parameters are known or can reasonably be fixed as point values, and when an exact optimal solution is required rather than an approximation. Do not use it when key parameters are uncertain or scenario-dependent; stochastic or robust integer programming models those cases explicitly. It is also a poor fit when the instance is so large that branch-and-bound cannot finish in an acceptable time and a heuristic is acceptable, when all variables are truly continuous (use linear programming), or when several conflicting objectives must be balanced (use multi-objective integer programming).
Limitations and considerations
- All coefficients are assumed exactly known, so uncertainty in costs, capacities or demands is not represented in the solution.
- The general problem is NP-hard, so worst-case solve time can grow exponentially with model size.
- Large combinatorial instances can require very long computation even with modern solvers.
- Formulation quality (tightness of constraints, symmetry handling) strongly affects solve time, so two equivalent models can differ greatly in performance.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Returns a provably optimal solution for the model as stated; the optimality claim holds only under the deterministic data assumption.
- Represents yes/no choices and whole-unit quantities directly, which continuous methods cannot enforce.
- Mature commercial and open-source solvers (CPLEX, Gurobi, SCIP) implement branch-and-cut with preprocessing.
- Reports an optimality gap between the best bound and the incumbent, allowing a justified early stop on large instances.
- Gives a reference formulation against which heuristic and stochastic variants can be compared on the same deterministic data.
Applications
- Production planning and scheduling with discrete machine or labor resources
- Facility location: deciding which warehouses or plants to open
- Vehicle routing and crew scheduling in transportation and logistics
- Capital budgeting: selecting a portfolio of indivisible investment projects
- Telecommunications network design with fixed link-establishment costs
- Healthcare staff rostering and operating-room scheduling
How it works
How it works
Define the model: a linear objective to minimize (or maximize) over integer decision variables, subject to linear inequality or equality constraints. The coefficients (c, A, b) are fixed and known, which is what makes the formulation deterministic. Binary (0/1) variables are a special case used for yes/no decisions.
Formula
\min \; c^\top x \quad \text{s.t.} \quad Ax \leq b,\; x \geq 0,\; x \in \mathbb{Z}^nSolve the LP relaxation, in which the integrality requirement is dropped and variables may take continuous values. For a minimization problem its optimal value is a lower bound on the best integer objective. If the relaxed solution already has integer values, it is also optimal for the integer problem; otherwise branching begins.
Formula
\text{Solve LP relaxation: } \min \; c^\top x \quad \text{s.t.} \quad Ax \leq b,\; x \geq 0Choose a variable that takes a fractional value in the LP solution and split the feasible region in two: one subproblem adds the constraint x_j <= floor(x_j*), the other adds x_j >= ceil(x_j*). Each subproblem is then handled in the same way.
Formula
\text{Select fractional variable } x_j^*. \text{ Create two subproblems: } x_j \leq \lfloor x_j^* \rfloor \text{ and } x_j \geq \lceil x_j^* \rceilSolve each subproblem's LP relaxation to obtain its bound. If a node's bound is no better than the incumbent (the best integer solution found so far), that node is pruned. If a node yields an integer-feasible solution better than the incumbent, the incumbent is updated. Together these steps form a branch-and-bound search tree.
Formula
\text{Compute bounds; prune nodes where LP bound} \geq \text{incumbent. Update best integer solution.}Cutting-plane methods, most notably Gomory cuts, derive additional linear inequalities from the LP tableau. These inequalities hold for all integer-feasible points but are violated by the current fractional LP solution. Adding them tightens the LP relaxation and reduces branching. Cuts can be generated once at the root node or repeatedly at other nodes of the search tree; in the pipeline above this is the optional step that follows bounding. Many modern solvers combine branch-and-bound with cuts in a branch-and-cut framework.
Formula
\text{Optionally add Gomory cuts or problem-specific valid inequalities to tighten LP relaxation.}The search ends when every open node has been pruned or has yielded an integer solution. The incumbent at that point is the optimal integer solution for the model as stated. Solvers also report the gap between the best bound and the incumbent, which can serve as a stopping criterion on large instances.
Formula
\text{Return optimal integer solution } x^* \text{ with objective value } z^* = c^\top x^*Common pitfalls
- Replacing uncertain parameters with point estimates can produce a solution that performs poorly once the true values are realized; check this assumption before applying DIP.
- A weak LP relaxation (large integrality gap) produces very large branch-and-bound trees; tighten the formulation with valid inequalities before scaling up.
- Big-M formulations introduce binary variables with large constants that can make the LP relaxation numerically unstable and weak; tighter reformulations are preferable where available.
- Stopping at a non-zero gap tolerance and reporting only the incumbent objective can make a sub-optimal solution look proven optimal; always report the gap with the objective value.
- Symmetric structures, such as identical machines or interchangeable workers, cause redundant branching; symmetry-breaking constraints reduce this.
Frequently asked questions
What distinguishes deterministic integer programming from stochastic integer programming?
In deterministic IP all objective and constraint parameters are fixed and known. Stochastic IP models uncertain parameters explicitly, using probability distributions or scenarios, and seeks solutions that perform well across those scenarios. Deterministic IP is simpler to formulate and solve, but it does not account for uncertainty.
Is binary programming a special case of integer programming?
Yes. Binary (0-1) programming restricts each decision variable to {0, 1}. It is the most common special case and is used for yes/no decisions such as opening a facility, selecting a project, or assigning a worker. General integer programming allows any non-negative integer value.
When should I switch from deterministic IP to a heuristic method?
Consider a heuristic when the branch-and-bound tree cannot be explored within an acceptable time limit and a solution with a known optimality gap is tolerable for the application. Report and justify that gap whenever you depart from exact optimization.
Can deterministic IP handle nonlinear objectives or constraints?
Classical deterministic IP assumes linear objectives and constraints. Nonlinear integer programming exists but is substantially harder. Some nonlinear forms can be rewritten linearly using auxiliary binary variables and big-M constraints. Check the documentation of your chosen solver for which nonlinear terms it accepts directly.
What solver should I use for deterministic IP in practice?
Commercial solvers such as Gurobi or CPLEX are common choices for demanding instances. Open-source options include SCIP, CBC and HiGHS. Modeling layers such as Pyomo, PuLP, JuMP or GAMS let you write the model once and pass it to different solvers. Benchmark two or three solvers on a representative instance before committing to one.
Related methods
Sources
Gomory, R. E. (1958). Outline of an algorithm for integer solutions to linear programs. Bulletin of the American Mathematical Society, 64(5), 275-278.
Open DOI referenceWolsey, L. A. (1998). Integer Programming. Wiley-Interscience, New York.
ISBN: 9780471283669