Zhaolu

Zhao Lü

code · read · fitness

Posts
Portfolio
Photos
Teach
Travels
Talks & Patents

Recent Posts

  • Fire Detection: Heat, RGB, and a Viral BBQ Sign 2026-11-29
  • JavaFX click circles, events, and properties 2026-11-28
  • CMCC box for media streaming 2026-11-26
Read more posts →
CS Glossary / Constraint

Constraint

Also known as: Side constraint, Restriction

A constraint restricts allowed values of the decision variables — capacity, demand satisfaction, budget, non-negativity, integrality.

Example: $23x_A+39x_B\ge 220$ (seat capacity), $x_A,x_B\ge 0$, $x_A,x_B\in\mathbb{Z}$. The set of points satisfying all constraints is the feasible region.

Related terms

  • Feasible region
  • Objective function
  • Decision variable
  • Linear programming

← Back to CS Glossary