Integer Programming definition
Integer programming optimizes an objective while requiring some or all decision variables to take integer values.
Integer Programming in a picture
How it works
In integer linear programming, the objective and constraints are linear. A pure integer model requires all decision variables to be integers. A mixed-integer model allows some variables to be continuous. Integer variables can represent counts of indivisible items.
Worked examples
Can x = 2.5 satisfy x ≤ 3 and x integer?
No. It satisfies the inequality but fails integrality.
Maximize x with integer x and 0 ≤ x ≤ 2.7.
The best allowed value is x = 2.
Can a mixed-integer model allow a real-valued time variable?
Yes, while requiring other variables such as vehicle counts to be integers.
Common mistake
Check feasibility after rounding. Rounding a continuous solution can break constraints or miss the best integer choice.
Quick check
What problem drops the integer requirement but keeps linear constraints?
Show answer
The linear programming relaxation.
What kind of integer variable takes only 0 or 1?
Show answer
A binary variable.
Sources
Flashcard
Integer Programming
Reveal the definition
Integer programming optimizes an objective while requiring some or all decision variables to take integer values.
Effortless Math. “Integer Programming.” Math Dictionary.



