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

Avoid LOCALE in MPS writing #26

Open
sebhoerl opened this issue Sep 26, 2022 · 0 comments
Open

Avoid LOCALE in MPS writing #26

sebhoerl opened this issue Sep 26, 2022 · 0 comments

Comments

@sebhoerl
Copy link
Contributor

sebhoerl commented Sep 26, 2022

We just noticed that String.format in MpsAssignmentWriter is dependent on the system locale. So on a French system, decimal numbers will be written out with a , instead of . as decimal separator. This, in turn, lets GLPK or Cbc fail because it is not a valid problem. Need to replace the calls to String.format by String.format(Locale.ENGLISH, ...).

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