Error code: 10003. Name too long (maximum name length is 255 characters)
AnsweredI am constructing variable names - some of which are very long. I am using Gurobi 11.0.0 and the Java API addVar method.
Is there a way to expand the maximum name length allowed?
0
-
Official comment
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Matthew,
There's no way of increasing the limit on the VarName attribute, you can use the VTag variable attribute instead.
Cheers,
David0
Post is closed for comments.
Comments
2 comments