Skip to content

Conversation

@sharktide
Copy link
Contributor

This is a superseding version of #7715 with syntax highlighting

The description was pasted from the original PR

Adds Mathematical Programming System:

MPS (Mathematical Programming System) is a file format for presenting and archiving linear programming (LP) and mixed integer programming problems.
...
The format was named after an early IBM LP product[1] and has emerged as a de facto standard ASCII medium among most of the commercial LP solvers. Essentially all commercial LP solvers accept this format, and it is also accepted by the open-source COIN-OR system

Description

MPS was first suggested for inclusion in #1207, but was not implemented. Later, it was noticed that Mathematical Programming System files were being labeled as JetBrains Metaprogramming System files (#6128), as that language was added without any disambiguation for other languages using the extension #5871. The Mathematical Programming System format is about 50 years old, and it has (up through today) been present in at least as many repos as the JetBrains XML variant.

One of the added samples is for the JetBrains format to make the minimum of 2 for heuristics support. I chose <persistence as the JetBrains keyword, as this appeared in all files I was able to locate, and was what the original PR searched for to determine popularity. The new MPS looks for rows or columns as these are required keywords of the language.

Checklist:

@sharktide sharktide requested a review from a team as a code owner January 9, 2026 21:38
@sharktide
Copy link
Contributor Author

sharktide commented Jan 9, 2026

Fixing fails

EDIT: Forgot to commit heuristics.yml

@lildude
Copy link
Member

lildude commented Jan 10, 2026

Why a new PR when you can collaborate on the original PR? That's the beauty of GitHub.

@sharktide
Copy link
Contributor Author

sharktide commented Jan 10, 2026

Why a new PR when you can collaborate on the original PR? That's the beauty of GitHub.

I had time for once and I was bored. I thought may as well save the old PR author some time. I added him as a coauthor to the some of the commits I think. I don't care whichever one is merged :)

@sharktide
Copy link
Contributor Author

@lildude may as well merge one of them before the next release

I plan to make the next release on Tuesday morning 🇬🇧 time.

@lildude lildude changed the title Add Mathematical Programming System (with syntax highlighting, superseding #7715) Jan 12, 2026
Copy link
Member

@lildude lildude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

Important

The changes in this PR will not appear on GitHub until the next release has been made and deployed. See here for more details.

@lildude lildude added this pull request to the merge queue Jan 12, 2026
Merged via the queue into github-linguist:main with commit d74fb25 Jan 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants