- Introduced by
- George B. Dantzig
- Year
- 1947
- Type
- Deterministic mathematical optimization
- Family
- Simulation / optimization
What does it do?
Deterministic Linear Programming (DLP) is the classical form of linear programming in which all objective function coefficients, constraint coefficients, and right-hand-side values are known with certainty.
It finds the optimal allocation of resources to maximize or minimize a linear objective subject to linear constraints, providing an exact, reproducible solution under fixed, certain data.
The intuition behind the method
Imagine allocating a fixed budget across projects, each with known costs and returns, subject to resource caps you know precisely. Deterministic LP encodes this as a system of linear inequalities and finds the corner-point solution that squeezes the most value from those constraints. Because every parameter is certain — no probability distributions, no ambiguity — the solver returns a single exact optimal plan rather than a distribution of outcomes. This clarity makes DLP the natural first-choice model when data are well-measured and uncertainty is not a primary concern.
History
Linear programming is usually traced to George B. Dantzig, who formulated the problem and developed the Simplex method in 1947. His 1963 book Linear Programming and Extensions is a standard reference for the method. The qualifier 'deterministic' distinguishes the certain-parameter model from stochastic and robust extensions. Note that the acronym DLP is also used in revenue management for a specific static approximation, in which random demand is replaced by its mean and the dual values of the resulting LP are used as bid prices. That is one application of the LP model and not the general definition used on this page.
When to use it
Use Deterministic LP when the decision problem can be modeled with a linear objective and linear constraints, and when all parameters are known with sufficient certainty to justify treating them as fixed constants. Ideal settings include production planning, transportation and logistics, diet and blending problems, and network flow under stable conditions. Do NOT use DLP when parameters are genuinely uncertain and risk matters — prefer Stochastic LP or Robust LP instead. Avoid DLP when the objective or constraints are nonlinear, when variables must be integer (use MIP), or when multiple conflicting objectives must be balanced simultaneously without aggregating them into one weighted sum (use multi-objective LP or goal programming).
Limitations and considerations
- Requires all relationships to be linear; nonlinear cost curves or diminishing returns cannot be represented without approximation.
- All parameters must be known and fixed; the model has no native mechanism for parameter uncertainty or estimation error.
- The optimal solution may be non-unique, meaning several decision vectors give the same best objective value. This is distinct from degeneracy, where a basic feasible solution has a basic variable at zero; both can make the reported solution depend on the solver's choice, and the analyst should state which optimum was reported.
- Integer or combinatorial requirements (for example, yes/no investment decisions) require extension to mixed-integer programming, which is computationally harder.
- Large problems with dense constraint matrices can be memory-intensive even for modern solvers.
- The model rests on four standard LP assumptions: proportionality (contribution and resource use scale linearly with activity level), additivity (the total effect equals the sum of the individual activity effects), divisibility (variables may take any non-negative real value, so integer decisions require MIP), and certainty (all coefficients are known constants). Violations such as volume discounts or setup costs (breaking proportionality), whole-unit decisions (breaking divisibility), or uncertain coefficients (breaking certainty) are common reasons to move to nonlinear, integer or stochastic models.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Because the feasible set is convex and the objective is linear, a solver's optimum is globally optimal for any feasible, bounded instance.
- Scales to very large models: modern solvers handle instances with very many variables and constraints.
- Dual variables and sensitivity (ranging) output give an economic interpretation of shadow prices and of how far the solution holds under coefficient changes.
- Transparent, auditable formulation: every assumption appears explicitly as a coefficient in the constraint matrix or the objective.
- Mature software ecosystem (CPLEX, Gurobi, HiGHS) with well-tested implementations.
- Infeasibility is a clear signal: if no solution satisfies Ax <= b and x >= 0, the constraints cannot all hold together. The cause may be a data-entry or sign-convention error or genuinely conflicting requirements, so these should be checked before the solver is questioned.
Applications
- Production and manufacturing scheduling with fixed resource capacities and known demand.
- Transportation and logistics: finding minimum-cost shipping routes across a network.
- Diet and blending problems: formulating least-cost nutritional or chemical mixtures satisfying composition constraints.
- Financial portfolio optimization under linear return and budget constraints.
- Energy systems planning: optimal dispatch of power generation units with known costs and capacities.
- Supply chain network design when demand and lead times are treated as known constants.
How it works
How it works
Define the decision variables x (for example, production quantities or flow amounts), the objective c^T x to be minimised or maximised, and the constraints Ax <= b with x >= 0. All entries of c, A and b are exact, known constants; this is what makes the model deterministic. If the model is written in standard form (Ax = b, x >= 0), each inequality is converted by adding a non-negative slack variable, so the two forms describe the same feasible set.
Formula
\min_{x} \; c^\top x \quad \text{s.t.} \quad Ax \leq b, \; x \geq 0Before optimizing, verify that the feasible region is non-empty (the constraint set has at least one solution) and that the objective is bounded. If the feasible region is empty, the problem is infeasible. If the objective is unbounded, check whether a constraint or bound is missing; an unbounded result can also be correct for a well-posed model that has an unlimited improving direction. Solvers perform these checks automatically, but the analyst should interpret the result to catch formulation errors.
Solve the LP with the Simplex algorithm (moving from vertex to adjacent vertex along the edges of the feasible polytope, improving the objective at each step) or with an interior-point method (following a path through the interior of the feasible region). Both exploit the convexity of the feasible set and the linearity of the objective, so any local optimum is also global. Commercial and open-source solvers such as CPLEX, Gurobi and HiGHS implement these methods for large models.
The solver returns the optimal decision vector x* and the optimal objective value c^T x*. When the feasible region is a non-empty polyhedron with at least one vertex (for example, a bounded polytope) and an optimum exists, some optimal solution is attained at a vertex (basic feasible solution), because the feasible set is convex and the objective is linear. The optimum is not always unique, so state which optimal solution was reported. Verify that x* satisfies all constraints, then translate it back into operational terms such as units to produce or routes to use.
Formula
x^* = \arg\min \{ c^\top x : Ax \leq b,\; x \geq 0 \}After obtaining x*, conduct sensitivity (post-optimality) analysis to determine how far each coefficient in c or b can change before the current basis, and therefore the optimal solution, changes. Shadow prices (dual variables) quantify the marginal value of relaxing each constraint. Although the model is deterministic, sensitivity analysis shows how robust the solution is to parameter estimation errors without abandoning the deterministic framework.
Common pitfalls
- Treating uncertain parameters as fixed point estimates without subsequent sensitivity analysis can produce solutions that are optimal on paper but fragile in practice.
- Forgetting non-negativity constraints or logical bounds can yield mathematically optimal but operationally infeasible solutions (for example, negative production quantities).
- Misinterpreting shadow prices as guaranteed marginal values outside the range of validity identified in ranging analysis.
- Using DLP when the true problem has integer structure (for example, a number of trucks) and rounding the LP solution; this can violate constraints or miss the true optimum.
- Over-aggregating objectives into a single weighted sum without checking that the weights reflect stakeholder preferences, which can hide important trade-offs.
Frequently asked questions
What makes LP 'deterministic' as opposed to 'stochastic'?
In deterministic LP every coefficient in the objective function, constraint matrix, and right-hand-side vector is a known constant. Stochastic LP, by contrast, treats some or all of these as random variables with probability distributions, seeking solutions that perform well in expectation or with high probability across scenarios.
Is the simplex algorithm always efficient?
In practice, the Simplex method solves most real-world LPs quickly. Its worst-case running time can be exponential in the number of variables, but interior-point methods have polynomial-time worst-case guarantees and are competitive on very large instances.
Can I use DLP if some of my decision variables must be whole numbers?
No. If variables must be integer (for example, the number of machines to purchase), the model becomes a mixed-integer or pure integer program. Solving the LP relaxation and rounding can violate constraints or miss the true integer optimum; use a dedicated MIP solver instead.
How do shadow prices help after solving?
The shadow price (dual variable) of a constraint is the rate at which the optimal objective value changes per unit change in that constraint's right-hand side, within the valid ranging interval. The sign of the reported dual value depends on whether the problem is a maximisation or a minimisation and on the solver's sign convention, so check the sign before interpreting it. Once the sign is understood, shadow prices help identify where expanding capacity would be most cost-effective.
When should I upgrade from DLP to Robust or Stochastic LP?
Upgrade when parameter uncertainty is material and the cost of an infeasible or poor solution under realised parameter values is significant. If a plausible deviation in a key coefficient would change which solution is preferred or cause a constraint violation, the certainty assumption of deterministic LP is too strong. The sensitivity analysis step indicates which coefficients to examine first.
Related methods
Sources
Dantzig, G. B. (1963). Linear Programming and Extensions. Princeton University Press, Princeton, NJ.
ISBN: 9780691059136Linear programming. Wikipedia.
Open publication referencemcdm11, p. 45