Deterministic Mixed-Integer Programming — Exact Optimization with Fixed Parameters

Decision Sciences
Introduced by
Gomory, R. E.; Dantzig, G. B.; Land, A. H.; Doig, A. G.
Year
1958–1960
Type
Mathematical programming / combinatorial optimization
Family
Simulation / optimization

What does it do?

Deterministic Mixed-Integer Programming (MIP) is an optimization framework for decisions that combine continuous quantities with integer or binary choices, when every cost, coefficient, capacity and constraint is treated as a known fixed value.

The solver searches for a solution that satisfies all constraints and reports a bound on the optimal objective, so the user can see how far the returned solution may be from the best possible one.

The intuition behind the method

Many real decisions involve indivisible choices, such as whether to open a facility, how many machines to buy, or which route to assign, alongside divisible quantities such as flow volumes or staffing hours. Deterministic MIP encodes both in one model: integer variables capture yes/no and counting decisions, continuous variables handle divisible quantities, and linear constraints express resource limits and logical requirements. Because all parameters are fixed rather than drawn from probability distributions, the solver's bound can show how much improvement is still possible relative to the returned plan. This gives a rigorous reference point before uncertainty is added to the model.

History

Gomory's 1958 paper outlines an algorithm for integer solutions to linear programs, and the Gomory fractional cut described in the mechanics section is associated with his line of work on integer programming. The branch-and-bound framework is commonly attributed to Land and Doig. Nemhauser and Wolsey (1988) is a standard reference on integer and combinatorial optimization.

When to use it

Choose Deterministic MIP when every input can be treated as known and fixed, when the decisions mix integer or binary choices with continuous quantities, and when a provably optimal solution, or one with a stated gap to the bound, is needed. Typical fits are facility location, production scheduling, network design, vehicle routing and capital budgeting. Do not use it when key parameters are uncertain or random; a stochastic or robust MIP formulation addresses that directly, and solving the deterministic model on a few scenarios gives only a partial picture. Avoid it when the model is strongly nonlinear, or when a fast approximate answer from a heuristic is acceptable and computing time is the main constraint.

Limitations and considerations

  • The problem class is NP-hard in general, so worst-case running time grows rapidly with the number of integer variables. A correct formulation can still be too slow to solve within a practical time limit.
  • All inputs are fixed. Uncertainty in costs, demands or capacities is not represented, so an optimal plan can become poor when the actual data differ from the assumed values.
  • Big-M constraints are weak in the LP relaxation when M is large. This widens the gap between the LP bound and the integer optimum and forces more branching.
  • Equivalent decisions can be written in formulations with very different solve times, so the choice of variables and constraint forms largely determines whether an instance is practical to solve.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Returns a solution with a certified optimality gap. When the gap is zero, the incumbent is optimal for the model as written, which supports decisions that must be justified.
  • Binary indicators and big-M logical links let the modeler express on/off choices, fixed charges and either-or requirements inside a single linear model.
  • The LP relaxation at each node supplies a bound, so the search reports how much improvement is still possible, not only a feasible plan.
  • Modeling layers such as Pyomo and JuMP connect to general-purpose solvers such as HiGHS, CBC and Gurobi, so the formulation can be solved without writing a custom search procedure.

Applications

  • Facility location and supply chain network design (warehouse placement, distribution center sizing)
  • Production and workforce scheduling (job-shop scheduling, shift assignment, lot sizing)
  • Capital budgeting and project portfolio selection under fixed resource constraints
  • Vehicle routing and fleet assignment problems in logistics
  • Power generation unit commitment and transmission network expansion planning
  • Airline crew scheduling and tail assignment in transportation operations

How it works

How it works

1

Write the decision as a model with continuous variables x and integer variables y. The objective is a linear function c^T x + d^T y to be minimized, and resource, logical and physical requirements enter as linear constraints Ax + By <= b with x >= 0 and y integer. All coefficients and right-hand sides are fixed numbers, not distributions.

Formula
\min_{x,y}\; c^\top x + d^\top y \quad \text{s.t.} \quad Ax + By \leq b,\; x \geq 0,\; y \in \mathbb{Z}^p
2

Drop the integrality requirement on y and solve the resulting linear program. Its optimal value z*_LP is a lower bound on the minimum of the integer problem. If the LP solution already has integer values for every y_j, it is feasible and optimal for the original model.

Formula
\text{LP relaxation: replace } y \in \mathbb{Z}^p \text{ with } y \geq 0 \text{; solve to get lower bound } z^*_{LP}
3

Choose a variable y_j whose LP value y_j* is fractional. Create two child subproblems, one with y_j <= floor(y_j*) and one with y_j >= ceil(y_j*). Together they cover every integer-feasible point of the parent node, so no feasible solution is discarded.

Formula
\text{Select fractional } y_j \notin \mathbb{Z}\text{; create two child nodes: } y_j \leq \lfloor y_j^* \rfloor \text{ and } y_j \geq \lceil y_j^* \rceil
4

Solve the LP relaxation of each subproblem, which is a node of the branch-and-bound tree. A node is fathomed, meaning it is not expanded further, if its LP value is no better than the incumbent objective, if its LP is infeasible, or if its solution already has integer values for all y_j. An integer-feasible node that improves on the incumbent becomes the new incumbent.

Formula
\text{Fathom node if } z^*_{LP} \geq z^*_{incumbent} \text{ (minimization) or LP infeasible or all } y_j \in \mathbb{Z}
5

Optionally, add valid inequalities that tighten the LP relaxation without removing any integer-feasible point. The Gomory fractional cut is built from a row of the optimal simplex tableau whose right-hand side is fractional: it uses the fractional parts of the tableau coefficients of the nonbasic variables and of the right-hand side. It is not computed directly from the original constraint coefficients. Cuts of this kind reduce the gap between the LP bound and the integer optimum.

Formula
\text{Gomory cut (optional): from an optimal tableau row } x_{B(i)} + \sum_{j \in N} \alpha_{ij} x_j = \beta_i \text{ with } \beta_i \notin \mathbb{Z},\; f_j = \alpha_{ij} - \lfloor \alpha_{ij} \rfloor,\; f_0 = \beta_i - \lfloor \beta_i \rfloor:\quad \sum_{j \in N} f_j x_j \geq f_0
6

Continue branching and bounding until the tree is exhausted or the optimality gap meets a chosen tolerance. Return the best integer-feasible incumbent (x*, y*) with objective z* = c^T x* + d^T y*, together with the gap between z* and the best remaining lower bound. The gap is zero when the search has been completed.

Formula
\text{Return incumbent } (x^*, y^*) \text{ when B\&B tree is exhausted; } z^* = c^\top x^* + d^\top y^*

Common pitfalls

  • Using a big-M value larger than necessary weakens the LP relaxation and slows branch-and-bound. Use the smallest bound on each linking expression that is valid for the model.
  • Interchangeable parts of the model, such as identical machines or facilities, cause the search to explore equivalent subtrees. Symmetry-breaking constraints can remove some of this redundancy.
  • Treating the solver output as a deployable plan when inputs are estimates. Optimality holds only for the fixed data in the model, so sensitivity or scenario checks on the inputs are needed.
  • Errors in the model itself, such as a reversed objective direction or inconsistent units, produce a confident-looking optimum for the wrong problem. Check feasibility, objective direction and units before solving.

Frequently asked questions

What distinguishes Deterministic MIP from Stochastic MIP?

In Deterministic MIP all coefficients, demands, and costs are fixed constants. Stochastic MIP replaces some parameters with random variables and seeks solutions that perform well in expectation or satisfy chance constraints, at the cost of much greater model complexity.

Can Deterministic MIP handle nonlinear objectives or constraints?

Standard MIP assumes linear constraints and a linear objective, as in the formulation in the mechanics section. Quadratic objectives (MIQP) are a common extension, and nonlinear MIP (MINLP) exists but is considerably harder. Some nonlinear terms can be linearised using auxiliary binary variables, which keeps the problem in MIP form.

How do I know when the solver has found the true optimum?

The solver reports an optimality gap, the relative difference between the best integer solution found and the best lower bound. A gap of zero certifies that the incumbent is optimal for the model. A positive gap means the true optimum lies between the bound and the incumbent, and the user sets a tolerance for stopping early.

Is Deterministic MIP appropriate if I only have estimated parameter values?

Formally, no. Deterministic MIP treats inputs as exact. If your data carry meaningful uncertainty, consider Stochastic MIP, Robust MIP, or at minimum run deterministic MIP on multiple representative scenarios and compare results.

What are common open-source solvers for Deterministic MIP?

HiGHS (through scipy.optimize.milp or directly), CBC (through PuLP or Pyomo), GLPK and SCIP are widely used free solvers. Gurobi and CPLEX are commercial solvers that offer free academic licences and generally stronger performance on large instances.

Related methods

Sources

  1. Nemhauser, G. L., Wolsey, L. A. (1988). Integer and Combinatorial Optimization. John Wiley & Sons, New York.

    ISBN: 9780471359432
  2. 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 reference