or-tools-wasm: Running Google OR-Tools Optimization Solver as Multithreaded WebAssembly in the Browser
By
AxelWickman
Fresh out the oven, still warm. Top of the tray.
Summary
This article presents or-tools-wasm, an open-source project that ports Google OR-Tools (a constraint optimization solver) to WebAssembly, enabling multithreaded execution directly in web browsers. It allows developers to solve complex optimization models from TypeScript/JavaScript without server-side dependencies. The project includes an npm package, a local test site, and integration with PragmaPlanner. The API supports creating or serializing OR-Tools proto models, validating them, and solving them entirely in-browser using WebAssembly multithreading.
Key quotes
· 3 pulledSolve complex optimization models from TypeScript with Google OR-Tools running as multithreaded WebAssembly.
Try online in your browser
Create or serialize an OR-Tools proto model, validate it, then solve it
You might also wanna read
WebAssembly on Kubernetes: Cloud-Native Wasm Integration at GOTO 2025
This presentation from GOTO Copenhagen 2025 by Nicolas Fränkel explores the integration of WebAssembly (Wasm) with Kubernetes. It covers how
Can JavaScript Become a Planned Runtime? — A study of AOT compilation, computation graphs, memory planning, and concurrency scheduling
Assemble: Open-Source Configuration Generator for AI Workflows with Zero Runtime
Assemble is an open-source configuration generator for AI work that features a /go command, memory capabilities, spec-driven workflows, and
