Operations research

Optimization Tools

Interactive solvers and visualizers for operations research. Solve a linear program step by step, watch maximum flow and routing algorithms work, and schedule projects with the critical path. Every tool runs in your browser and explains each step.

Linear programming

Optimize a linear objective under linear constraints, the most widely used technique in operations research.

Simplex Method CalculatorNewEnter any linear program and get every tableau, pivot and ratio test explained, plus a sensitivity analysis and the dual.≤, ≥ and = constraintsBig M and Two-Phase methodsExact fractions and a graph for 2 variablesOpen the calculatorGraphical Method CalculatorSolve two-variable problems by drawing them: feasible region, corner points and a movable objective line.Hungarian Method CalculatorAssign workers to jobs at minimum cost: every reduction, covering line and adjustment of the Hungarian method explained.Transportation Problem CalculatorShip from sources to destinations at minimum cost: North-West Corner, Least Cost and Vogel, then MODI loops to the optimum.

Network flows

Push as much as possible through a network, and find the bottleneck that limits it.

Routing and logistics

Plan tours and delivery routes, and decide where to place facilities.

Project scheduling

Find the critical path, handle uncertain durations and schedule with limited resources.

Guides and articles

Background reading on operations research and the problems these tools solve.

What is optimization?

Optimization means choosing the best decision among many possible ones: the cheapest production plan, the shortest set of delivery routes, the fastest project schedule. Operations research turns such questions into mathematical models, an objective to maximize or minimize plus the constraints a solution must respect, and solves them with algorithms.

Many of these models live on graphs and networks, which is why they sit next to the graph theory tools on this site. A good place to start is the simplex method for linear programs; from there, explore network flows, routing and scheduling.