Skip to content

Conversation

odow
Copy link
Member

@odow odow commented Oct 17, 2022

x-ref: #2016 (comment)

All solvers are maddeningly different in how they want OBJSENSE:

Gurobi want it on the same line https://www.gurobi.com/documentation/9.5/refman/mps_format.html

image

Mosek want it in field 2 (col 5) on a new line https://docs.mosek.com/10.0/pythonfusion/mps-format.html

image

CPLEX wants it in column 3 (not a field!) on a new line https://www.ibm.com/docs/en/icos/22.1.0?topic=extensions-objective-sense-name-offset-in-mps-files

image

Mosek is the only sane one here, and from testing, it seems like the rest can at least read it, so I've changed to that.x

@odow odow added the Submodule: FileFormats About the FileFormats submodule label Oct 17, 2022
@odow odow merged commit 71defad into master Oct 18, 2022
@odow odow deleted the od/mps-objsense branch October 18, 2022 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Submodule: FileFormats About the FileFormats submodule
Development

Successfully merging this pull request may close these issues.

1 participant