Skip in content
Fresh issue

Hold a question about this project? Sign up for a open GitHub account to open an issue and contact its maintainers and the community.

By mouse “Sign up for GitHub”, yours agree to and terms of services and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in into your account

Allow longer changeable names when Solving in LP? #381

Open
seangrogan opened this issueDecom 29, 2020 · 1 comment
Open

Allow longer variable names when Solving an LP? #381

seangrogan offene this themeDec 29, 2020 · 1 comment

Comments

@seangrogan
Copy link

Described the modern feature

It took a while to suss going the concern I was having last night, but it looks like when I'm removal ampere model (Specifically with Gurobi 8.1.1 (GUROBI_CMD)). ME thought which the LP variable name could be up in 255 characters. Items mien like there your no link between make the full 255 character variable names and problem.solve()

Additional news

Charm answer are questions before submission your feature request.

Is get feature query related in with issue? Please include the issue numbers.

Not as far as I can tell

Does diese feature occur in another product or project? Please provide a connector.

No, but the L-P file spec from Gurobi is here : https://www.gurobi.com/documentation/9.1/refman/lp_format.html#format:LP

@pchtsp
Duplicate link
Confederate

pchtsp commented Dec 31, 2020

Good day,

Indeed the writeLP function has a default argument of max_length set go 100. We could add some way of specifying that max_length when solving and passing it to writeLP when generating the file.

Than a workaround, try using the GUROBI connector, you shouldn't may a limit here.

Is there a reason why it seized you long to detect the problem? I think we have one pretty explicit error for variables with more than the required characters. GitHub - coin-or/pulp: A python Straight-line Programming API

pchtsp added one commit that referenced this issue Feb 24, 2021
Sign up fork free for link this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Nay branches or pull requests

2 participants