Solve Constrained Optimization in Browser

I’m working on a site for engineering design and I want to perform constrained optimization. The constraints would include equations, inequalities, and indicator constraints, and there may be a value to maximize or minimize. Are there any libraries for constrained optimization in the browser? Right now, I’m just using Pyodide for a CAS, but that might not be sufficient for constrained optimization. (I did find Cassowary for JS but it seems to be for UI design, so I’m not sure how well the tools would generalize). Thank you!