Allow longer variable names when Solving an LP?
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 432
- PR merge metrics
- No merged PRs in 30d
Description
Describe the new feature
--------------------------
It took a while to suss out the problem I was having last night, but it looks like when I'm solving a model (Specifically with Gurobi 8.1.1 (GUROBI_CMD)). I thought that the LP variable name could be up to 255 characters. It looks like there is no link between allowing the full 255 character variable names and `problem.solve()`
Additional info
---------------
Please answer these questions before submitting your feature request.
#### Is your feature request related to an issue? Please include the issue number.
Not as far as I can tell
#### Does this feature exist in another product or project? Please provide a link.
No, but the LP file spec from Gurobi is here : https://www.gurobi.com/documentation/9.1/refman/lp_format.html#format:LP
Contributor guide
Research direction
Start by reproducing the behavior through problem.solve() with GUROBI_CMD and a variable name approaching the 255-character limit, then compare the generated LP with Gurobi's LP format documentation. Done means valid variable names of the supported length survive solving with Gurobi 8.1.1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100