BLOGS & WHITEPAPERS

5 min read

PUBLISHED

Mar 19, 2026

SHARE THIS POST

Leadership & Decision Culture

SUDOKO IN LYRIC TEST DRAFT

Why use cases are just costumes for algorithms
Why use cases are just costumes for algorithms
AUTHOR

Published

Mar 19, 2026

5 min read

Share this post

Why I Started Thinking About This

Every time a new problem hits — tariffs change, capacity tightens, labor gets constrained — enterprise software vendors show up with a "purpose-built solution."

Tariff optimizer. Rough-cut capacity planner. Labor scheduling engine.

Different names. Same math. New invoice.

At some point, I started wondering: are these actually different problems, or are we just changing the labels? That question led me to an experiment. Could a network optimization algorithm solve something completely unrelated to supply chains, like Sudoku?

It turns out, it can — and that changes everything.

A Technical Detour: Solving Sudoku with Network Optimization

Let me be explicit: a network optimization algorithm has no idea what Sudoku is.

It doesn't understand numbers, grids, or puzzles.

It understands decision variables, constraints, and objectives.

That's enough.

At a high level, a Sudoku puzzle can be modeled as:

  • Decision variables representing whether a number is assigned to a cell

  • Constraints ensuring each number appears exactly once in each row, column, and subgrid

  • An objective that simply finds a feasible solution

There are no flows, plants, or warehouses here — just structure.

The Same Sudoku as a Supply Chain Problem

But the same Sudoku can also be expressed explicitly as a supply chain problem.

There are 81 customers, representing the 81 cells in the puzzle: R1C1, R1C2, …, R9C9.

There are 9 vendors, V1 through V9, each representing a number from 1 to 9.

The decision is to determine which vendor supplies which customer — in other words, which number is assigned to which cell.

We then define customer groups corresponding to:

  • Each row: R1, R2, … R9

  • Each column: C1, C2, … C9

  • Each 3×3 subgrid: SG1, SG2, … SG9

These groups enforce Sudoku rules through standard network constraints:

  • Each customer (cell) must be supplied by exactly one vendor

  • Each vendor can supply exactly 9 customers (each number appears nine times)

  • Vendor n supplies n units to a customer (encoding the value)

  • The total quantity flowing into each row, column, and subgrid must equal 45

The Key Insight

What we've done is convert a Sudoku puzzle into a supply chain network so we can use a network optimization algorithm to solve it.

At that point, all that's left is to define an input data model that captures a specific Sudoku puzzle and wrap it in an application layer that lets users interact with it — instantly turning the same algorithm into a completely new solution.

Nothing about the algorithm changed. Only the data model and the constraints did.

That's the key point.

Read more

Leadership & Decision Culture

The Innovation Tax: Why Your Best Work Doesn't Compound

Feb 18, 2026

Brittany Elder

read more

Leadership & Decision Culture

What Sudoku Teaches Us About Enterprise Software

Feb 17, 2026

Akshat Jain

read more

Decision Intelligence

Taming the Toughest Problems in Transportation

Dec 18, 2025

Amit Hooda & Priyesh Kumar

read more

Leadership & Decision Culture

Why 30% of Packaged Food Never Reaches a Consumer

Dec 22, 2025

Srivatsan Kadambi Seshadri & Thilak Satya Sree

read more

Leadership & Decision Culture

How to Plan When Nothing Goes According to Plan

Dec 15, 2025

Dr. Nilendra Singh Pawar

read more

Architecture & Composability

Why We Fall Back to Heuristics

Nov 24, 2025

Frank Corrigan

read more

Architecture & Composability

What You Group is What You See

Nov 3, 2025

Frank Corrigan

read more

Architecture & Composability

The Cost of Curiosity

Sep 24, 2025

Brooke Collins

read more

Leadership & Decision Culture

Lyric Named a 2025 Gartner® Cool Vendor in Cross-Functional Supply Chain Technology

Sep 2, 2025

Sara Hoormann

read more

Leadership & Decision Culture

Built for Builders. Backed to Scale.

Aug 5, 2025

Ganesh Ramakrishna

read more

Architecture & Composability

Generative AI meets Time Series Forecasting

May 2, 2025

Deb Mohanty

read more

Architecture & Composability

The Dying Art of Supply Chain Modeling

Apr 15, 2025

Milind Kanetkar

read more

Leadership & Decision Culture

Tariffs, Trade Wars, and the AI Advantage: Why Fast Modeling Wins

Apr 7, 2025

Lyric Team | Prime Contributors - Laura Carpenter, Victoria Richmond, Saurav Sahay

read more

Architecture & Composability

Lyric Leverages NVIDIA cuOpt to Elevate Supply Chain AI

Mar 18, 2025

Sara Hoormann

read more

Architecture & Composability

The Technology Behind Modeling at Scale

Mar 14, 2025

Ganesh Ramakrishna

read more

Leadership & Decision Culture

Our Dream is to Make Every Supply Chain AI-First

Oct 18, 2023

Ganesh Ramakrishna

read more

Architecture & Composability

What Is a Feature Store Anyway?

Mar 14, 2024

Sara Hoormann

read more

Leadership & Decision Culture

Supply Chain AI Ain’t Easy

Feb 20, 2023

Ganesh Ramakrishna & Sara Hoormann

read more

Decision Intelligence

Four Ways to Improve Supply Chain Operations with Machine Learning

Jan 26, 2023

Vish Oza

read more

Architecture & Composability

Prediction is the New Visualization

May 30, 2024

Frank Corrigan

read more

Planning & Forecasting

The Modeling-Planning Divide Was Always a Technology Problem

Mar 19, 2026

Vish Oza & Deb Mohanty

read more

A New Era in Supply Chain

© 2025 Lyric. All rights reserved.

A New Era in Supply Chain

© 2025 Lyric. All rights reserved.