[BUG] Java: Problem.write of an unnamed model produces an MPS file that read rejects
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
Research direction
Start with the disabled NativeEdgeCaseTest.anUnnamedModelRoundTripsThroughAnMPSFile test mentioned in the issue and trace the Java Problem.write and Problem.read paths for unnamed variables and constraints. Check how the MPS names are produced and where reading rejects blank names. Done means an unnamed model writes an MPS file that Problem.read accepts and the round trip test passes.
Written by the indexing model from the issue text.
Description
In the Java bindings, Problem.write on a model with unnamed variables or constraints writes blank names to the MPS file, and Problem.read rejects that file. An unnamed model therefore cannot be written and read back.
Expected: write generates default names (for example C0, R0), or the Java layer names them before writing.
Disabled test that reproduces it (in #2219): NativeEdgeCaseTest.anUnnamedModelRoundTripsThroughAnMPSFile
🤖 Generated with Claude Code
- Dominant language
- Cuda
- Stars
- 1.1k
- Forks
- 249
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 124
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/cuopt
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
NVIDIA/cuopt#2255 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 50/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
microsoft/markitdown#2820 ·
Maintainers usually reply within 1 day
-
[Bug]: SCIM Users groups[].value is returned as an integer, causing authentik user discovery to failOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
grokability/snipe-it#20006 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Eyevinn/moqlivemock#166 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
hyperledger/fabric-x-orderer#1409 ·
Maintainers usually reply within 3 days