Skip to content
← All questions

Why are binary variables introduced in the fixed cost production problem?

Binary variables YiY_i are introduced to model the activation status of each machine. They take the value 1 if machine ii is used and 0 otherwise. This allows the fixed setup costs to be included in the objective function conditionally, ensuring that costs are only incurred when the machine is actually activated.

Conditions

  • The problem involves machines with fixed setup costs.
  • Production quantities are continuous variables.
  • The goal is to minimize total cost including both variable and fixed components.

Reasoning, step by step

  1. Identify that fixed costs are incurred only if a machine is used.
  2. Define a binary variable YiY_i for each machine.
  3. Set Yi=1Y_i = 1 if machine ii is active, and Yi=0Y_i = 0 if inactive.
  4. Multiply the fixed cost of each machine by its corresponding binary variable in the objective function.
  5. Link the binary variable to the production quantity to enforce logical consistency.

Example

For three machines with fixed costs 300, 250, and 400, the binary variables Y1,Y2,Y3Y_1, Y_2, Y_3 are defined. The fixed cost part of the objective function becomes 300Y1+250Y2+400Y3300Y_1 + 250Y_2 + 400Y_3. If Y1=0Y_1=0, the cost 300 is not added to the total.

Common misconceptions

  • Thinking binary variables are only for counting discrete items.
  • Assuming fixed costs are always paid regardless of machine usage.
  • Confusing the binary activation variable YiY_i with the continuous production variable XiX_i.

Watch the explanation

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.