Skip to content

Avoid LOCALE in MPS writing #26

Open
@sebhoerl

Description

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, ...).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions