Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Glpk.js 3.0.0 #8

Open
wetneb opened this issue Mar 30, 2020 · 2 comments
Open

Update to Glpk.js 3.0.0 #8

wetneb opened this issue Mar 30, 2020 · 2 comments

Comments

@wetneb
Copy link
Owner

wetneb commented Mar 30, 2020

Glpk.js is fast, but it's heavy. We probably only use a fraction of the functionality it exposes.
It would be nice to have a pure JS equivalent that would be reasonably fast and lighter.

We don't need constraint solving to be blazingly fast, it is only used when we first render the diagram (not when we rotate it, for instance).

@wetneb
Copy link
Owner Author

wetneb commented Mar 31, 2020

Asked for recommendations at jvail/glpk.js#4

@wetneb
Copy link
Owner Author

wetneb commented Apr 2, 2020

It turns out we are using an old version, we should upgrade to 3.0.0, which requires adapting the way we invoke Glpk: https://github.com/iMasanari/mhw-simulator/blob/3bd47b492e06265c03e3e79fe0e0b304134cd36e/src/worker/util/executeGlpk.ts

@wetneb wetneb changed the title Alternatives to Glpk.js Update to Glpk.js 3.0.0 Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant