Free Optimization Engine — Up to 50 SKUs

Supply Chain Optimization
& Simulation

LP & NLP solver for production planning, transport, and procurement optimization. Maximize volume, minimize cost or distance — mode-specific data, constraints, and results, all in your browser.

🔒 100% browser-based · Zero data uploaded · No signup required

1 Mode & Objective
2 Load Data
3 Constraints & Calibration
4 Solver & Results

📋 How It Works — 4 Simple Steps

Follow these steps in order to run your supply chain optimization.

01
Pick Optimization Mode
Choose Production, Transport, or Procurement. Each mode has its own objective and data format.
02
Load Your Data
Upload CSV, enter manually, or load the mode-specific sample dataset (15 items).
03
Set Constraints
Configure budget, capacity, service level, and per-item overrides.
04
Run Solver & Export
The LP/NLP engine solves your problem. View results, matrix, and export CSV.

🏗️ Step 1 — Select Optimization Mode

Each mode has a fixed objective and mode-specific data. Pick the supply chain function you want to optimize.

🏭 Production Planning

Objective: Volume Maximization
Optimize production quantities to maximize total output across manufacturing lines. Respects capacity, budget, and weight constraints.

🚛 Transport Optimization

Objective: Distance & Transport Cost Minimization
Minimize total transport cost and network distance for shipment allocation across routes. Respects vehicle capacity and weight limits.

🤝 Procurement Optimization

Objective: Spend Minimization
Minimize total procurement spend (unit cost + transport) across suppliers. Respects minimum order quantities, supplier capacities, and budget.

⚙️ Solver Type

Choose the mathematical programming approach.

Linear Programming: All cost/constraint relationships are proportional. Fast, guaranteed global optimum via Simplex method. Recommended for most supply chain problems.

📋 Data Input — Up to 50 SKUs

Upload a CSV, enter data manually, or load the built-in sample dataset. All data stays in your browser.

📁
Drop your CSV file here or click to browse
Max 50 SKUs · See required format below
📐 Required CSV Format (click to expand)
SKU_ID,SKU_Name,Unit_Cost,Selling_Price,Demand,Min_Order,Max_Capacity,Lead_Time_Days,Transport_Cost_Per_Unit,Distance_KM,Supplier,Weight_KG SKU001,Widget Alpha,120,250,500,50,800,7,15,350,Supplier_A,2.5 SKU002,Gear Beta,85,180,1200,100,2000,5,10,120,Supplier_B,1.8
#SKU IDNameUnit Cost (₹)Selling Price (₹) DemandMin OrderMax CapacityLead Time (d) Transport ₹/unitDistance (km)SupplierWeight (kg)
0 / 50 SKUs loaded

🔧 Global Constraints & Calibration

Set system-wide constraints. The solver will respect these limits while optimizing your chosen objective. Adjust or leave defaults.

₹ — Maximum total spend across all SKUs
units — Max total units in storage
% — Minimum demand fulfillment rate
km — Total network distance cap
kg — Total weight handling capacity
Max iterations for convergence

📊 Per-SKU Constraint Overrides

Fine-tune individual SKU constraints. The values below are auto-populated from your data. Edit any cell to override.

SKU IDNameMin QtyMax Qty Force IncludePriority (1-10)

🧮 Solver Engine

Running optimization...

Initializing solver...

Frequently Asked Questions

Everything you need to know about supply chain optimization

What is supply chain optimization?
Supply chain optimization uses mathematical programming (linear and non-linear) to find the best allocation of resources — minimizing costs, maximizing profits, or optimizing volumes — across production, transport, and procurement decisions. It considers constraints like capacity, demand, budget, and lead times to produce actionable plans.
How can I optimize my supply chain for free?
Use this Mathnal Supply Chain Optimization Tool. It supports linear and non-linear optimization for cost, distance, volume, profit, and revenue across up to 50 SKUs. Upload your data or enter it manually. It runs 100% in your browser — no signup, no data leaves your machine.
What is the difference between linear and non-linear optimization?
Linear optimization assumes all relationships are proportional — doubling production doubles cost. It's fast and guarantees a global optimum. Non-linear optimization handles curved relationships like economies of scale, diminishing returns, and volume discounts. It's more realistic but may find local optima. This tool supports both approaches.
What types of optimization does this tool support?
Five objectives: cost minimization, distance minimization, volume maximization, profit maximization, and revenue maximization. Four modes: production planning (volume/profit), transport optimization (cost/distance), procurement optimization (cost/volume), and full supply chain optimization (profit/revenue). All support up to 50 SKUs with configurable constraints.
What CSV format does the tool require?
Twelve columns: SKU_ID, SKU_Name, Unit_Cost, Selling_Price, Demand, Min_Order, Max_Capacity, Lead_Time_Days, Transport_Cost_Per_Unit, Distance_KM, Supplier, Weight_KG. Download the template from the Data Input step. A sample dataset with 15 SKUs is also built in for testing.
Is my data safe?
Absolutely. All calculations run in JavaScript in your browser. No data is transmitted to any server. Your supply chain data never leaves your device. You can verify this in your browser's Network tab — zero outbound requests.
What is shadow price in optimization?
The shadow price (dual value) tells you how much the objective function would improve if you relaxed a binding constraint by one unit. For example, if the budget shadow price is ₹2.5, adding ₹1 to your budget would improve profit by ₹2.5. It helps prioritize where to invest for maximum impact.
What is the Simplex method used in this tool?
The Simplex method is an iterative algorithm that solves linear programs by traversing vertices of the feasible region. It's guaranteed to find the global optimum in polynomial time for practical problems. This tool implements a JavaScript-based Simplex solver inspired by PuLP's approach, running entirely in your browser.
Can I use this for production planning?
Yes. Select "Production Planning" mode with volume or profit objective. Enter your SKU data with production costs, capacities, and demand. The solver finds the optimal production quantity for each SKU that maximizes throughput or profit while respecting capacity and budget constraints.
How does transport optimization work?
Transport optimization mode minimizes total transport cost or distance. It uses per-unit transport costs, distances, and weight data for each SKU to determine optimal shipment allocations. Constraints include maximum network distance, weight capacity, and per-SKU demand fulfillment requirements.