All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

or-tools-wasm: Running Google OR-Tools Optimization Solver as Multithreaded WebAssembly in the Browser

By

AxelWickman

4h ago· 8 min readenCode

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 pulled
Solve 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
Snippet from the RSS feed
Running Google OR-Tools multithreaded in browser through wasm. - Axelwickm/or-tools-wasm

You might also wanna read