linopy icon indicating copy to clipboard operation
linopy copied to clipboard

Gurobipy: "unknown variable 'x855057' in binary section"

Open FBumann opened this issue 3 months ago • 0 comments

I get the following output when optimizing my Linopy model with gurobipy:

Warning: unknown variable 'x855057' in binary section
Warning: unknown variable 'x855058' in binary section
Warning: unknown variable 'x855059' in binary section
Warning: unknown variable 'x855060' in binary section
Warning: unknown variable 'x855061' in binary section
Warning: unknown variable 'x855062' in binary section
Warning: unknown variable 'x883559' in binary section
Warning: unknown variable 'x883560' in binary section
Warning: unknown variable 'x883561' in binary section
Warning: unknown variable 'x883562' in binary section
Warning: unknown variable 'x883563' in binary section
Warning: unknown variable 'x2821079' in binary section

Im not sure how to interpret this, neither do I know the cause. I cannot replicate the issue and unfortunately cannot share the model as this is a corporate model. The model is quite large (>10 Mio. Variables).

Regarding the solving and solution, I can't see any issues or weird behaviour.

If anyone knows what could be the cause, and if this is problematic, I would be glad to hear.

FBumann avatar Oct 14 '25 23:10 FBumann