Calculation Issues

How to Set Up Excel Solver for Production Scheduling Optimization

Huma Ashraf ChHuma Ashraf Ch Nov 11, 2026 870 views

Question details

The user needs to build an Excel Solver model to schedule production batches, minimize downtime, and avoid overlapping machine operations.

Set Up Excel Solver for Production Scheduling Optimization
Product
Microsoft Excel
Device & OS
not provided
Scenario
Optimizing a manufacturing or production schedule across multiple machines using mathematical modeling.
Observed behavior
A structured schedule that minimizes idle time and ensures operations occur in the correct sequence without resource conflicts.
Before you start

Ensure that the Solver add-in is activated in your spreadsheet software via the Add-ins menu before attempting to build and run the optimization model.

Solution 1Recommended

Build and Configure the Solver Optimization Model

This method walks you through defining your decision variables, setting up time formulas, adding production constraints, and running the optimization to minimize downtime.

A successful scheduling model requires clearly defined start times, end times, and constraints to ensure batches are processed in order and do not overlap on the same machine.

1
Define Decision Variables

Create structured columns for each batch containing the Batch Number, Run Time on Machine A, Run Time on Machine B or C, Start Times, and End Times.

2
Apply Time Formulas

Calculate the end times using simple addition formulas. For example, enter a formula like '=Start_Time + Run_Time' to determine exactly when a machine will finish processing a batch.

3
Set Up Predecessor Constraints

Ensure downstream processing only begins after upstream steps are complete. Add a constraint indicating that the Start Time on Machine B or C must be greater than or equal to the End Time on Machine A for the same batch.

4
Prevent Overlapping Operations

Add constraints to ensure sequential processing on the same machine. Specify that the End Time of Batch 1 on Machine A must be less than or equal to the Start Time of Batch 2 on Machine A.

5
Configure and Run Solver

Navigate to the Data tab and click Solver. Set the Objective to minimize the cell containing your total downtime. Add all your time and sequence constraints, select an appropriate solving method like Evolutionary, and click Solve.

Build and Configure the Solver Optimization Model
Save Solver Parameters: Once your model solves successfully, you can save the Solver parameters within the worksheet so you don't have to re-enter your constraints the next time you update the schedule.

Optimize Production Schedules with WPS Spreadsheet

WPS Spreadsheet features a powerful Solver tool that allows you to easily set up complex production scheduling models, minimize downtime, and maximize efficiency without needing expensive specialized software.

  1. 1. Open Your Schedule: Launch WPS Spreadsheet and open your production schedule workbook.
  2. 2. Access the Solver Tool: Navigate to the Data tab and click on the Solver icon. If it is not visible, enable it through the Add-Ins manager.
  3. 3. Define Objective and Variables: Set your Objective Cell to minimize total downtime, and select the Start Times as your Changing Variable Cells.
  4. 4. Add Constraints and Solve: Input your non-overlapping and sequential processing constraints, then click Solve to generate the optimized schedule.
Free, lightweight, and fast spreadsheet processing.Full compatibility with Microsoft Excel (.xlsx) formats and standard Solver models.Intuitive interface for defining complex variables and operational constraints.
microsoft office alternative - wps office

Frequently Asked Questions

Why is the Solver add-in missing from my ribbon?

Solver is an add-in program that is often not enabled by default. To activate it, go to File > Options > Add-Ins, select Excel Add-ins at the bottom, and check the Solver Add-in box. It will then appear on the Data tab.

Which solving method should I choose for production scheduling?

If your model relies solely on linear formulas (such as simple addition for times and simple inequalities for constraints), use the Simplex LP method. If your model includes complex, non-linear conditional formulas like IF or MAX, you should use the Evolutionary method.

How do I handle a batch that can go to either Machine B or Machine C?

You can use binary decision variables (limited to 0 or 1). Create a column for machine assignment, set a constraint restricting these cells to 'bin' (binary), and use formulas to multiply the run times by this variable to dynamically assign the batch to the correct machine.