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 / Decision variable

Decision variable

Also known as: DV, Choice variable

A decision variable is a quantity the optimiser chooses — e.g. number of type-A buses $x_A$, flow on arc $(i,j)$, or a yes/no assignment.

Types: continuous ($x\ge 0$), integer ($x\in\mathbb{Z}$), binary ($x\in{0,1}$). Linked to a measurable decision in the real system.

Related terms

  • Objective function
  • Constraint
  • Integer programming
  • Linear programming
  • Binary variable

← Back to CS Glossary