-
Notifications
You must be signed in to change notification settings - Fork 20
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
Enhancement: also provide constraint result values #41
Comments
Hi @seb2010, would you like to prepare a PR? Maybe as an optional output. |
HI @jvail, I have to admit, I am not that familiar with the git-specifics and do not have an extra environment for this. I am just using the package in a live application. I can paste the code though: const glpk = function (wasmBinary=null) {
}; export default glpk;` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Besides the results of the variable column-objects in "vars" in the result JSON, it would be very good to also get the constraint row-objects in a seperate array in the result.
Bascially one need to add
glp_mip_row_val = cwrap('glp_mip_row_val', 'number', ['number', 'number']),
as a constant at the top and adjust the result template and writing in the
solve()
function.I think this should be rather easy. Is that possible?
The text was updated successfully, but these errors were encountered: