← Back to Handbooks

Machine Scheduling - Handbook

Type: LP (Linear Programming)

This handbook explains the Machine Scheduling sample problem in the LP Black Box platform.


The Problem

Scenario

A factory has 2 machines (M1, M2) that can produce two products (A, B). Each machine-product combination has different efficiency.

Machine-ProductProfit per Unit ($)Time per Unit (hrs)
Machine 1 → A102
Machine 1 → B81
Machine 2 → A121
Machine 2 → B62

Each machine has 40 hours available.

Your Goal

Maximize total profit by deciding how much of each product to produce on each machine.

The Variables

VariableMeaning
M1_AUnits of A produced on Machine 1
M1_BUnits of B produced on Machine 1
M2_AUnits of A produced on Machine 2
M2_BUnits of B produced on Machine 2

The Constraints

  1. Machine 1 Time: Cannot exceed 40 hours

    Formula: 2×M1_A + 1×M1_B ≤ 40

  2. Machine 2 Time: Cannot exceed 40 hours

    Formula: 1×M2_A + 2×M2_B ≤ 40

  3. Product A Demand: Must produce at least 20 units total

    Formula: M1_A + M2_A ≥ 20

  4. Product B Demand: Must produce at least 15 units total

    Formula: M1_B + M2_B ≥ 15


How to Use

Step 1: Load the Sample

Select Machine Scheduling from the dropdown.

Step 2: Solve

The solver determines how to allocate production across machines to maximize profit while meeting demand.


Try It Yourself


This demonstrates multi-machine production scheduling with constraints.