Show HN: Solving complex optimization problems with Google OR-Tools in browser
1–9 of 9 posts
Re: Show HN: Solving complex optimization problems with Google OR-Tools in browser
#2Do people solve business problems with OR-tools? I suppose yes, but what can you say about the real applications?
Re: Show HN: Solving complex optimization problems with Google OR-Tools in browser
#3this is nice
can the browser connect to a server to offload heavier calculations?
Re: Show HN: Solving complex optimization problems with Google OR-Tools in browser
#4this is really neat. Was using or-tools to solve my friend's scheduling problems with coworkers.
Re: Show HN: Solving complex optimization problems with Google OR-Tools in browser
#5this is nice can the browser connect to a server to offload heavier calculations?
Yeah agree. Really considering taking the project this direction
Re: Show HN: Solving complex optimization problems with Google OR-Tools in browser
#6Do people solve business problems with OR-tools? I suppose yes, but what can you say about the real applications?
In somewhat discrete domains with large combinatorial search spaces, I would argue they do. I built this for a conference planner SaaS, which felt very real. Probably have other use cases in routing, dispatching, staff scheduling, conference planning, shift assignment, warehouse picking, bin packing, fleet utilization, job-shop scheduling, matching supply and demand under constraints, etc.
Re: Show HN: Solving complex optimization problems with Google OR-Tools in browser
#7I wonder if the same can be done with Timefold's quickstarts
https://github.com/TimefoldAI/timefold-quickstarts
Did you transpile OR tools's entire codebase from C++ to JavaScript with AI?
Re: Show HN: Solving complex optimization problems with Google OR-Tools in browser
#8Re: Show HN: Solving complex optimization problems with Google OR-Tools in browser
#9I wonder if the same can be done with Timefold's quickstarts https://github.com/TimefoldAI/timefold-quickstarts Did you transpile OR tools's entire codebase from C++ to JavaScript with AI?
Timefold tackles the same class of problems, but I thiink their's need a backend while mine runs in browser entirely. So mine works by running the C++ browser by compiling it directly to WebAssembly, so I didn't touch the solver code. The original library has bindings to python, so I did use AI to transpile that interface and tests so that the Typescript API mirrors the Python API.