Skip to content

Gurobi Error 10003: Name too long (maximum name length is 255 characters) #1126

@hannesfelipe

Description

@hannesfelipe

Describe the bug
We are trying to use Gurobi to solve our problem. However, when running a one-year model with a roll_forward of 730h, we get the following error message: Gurobi Error 10003: Name too long (maximum name length is 255 characters).
We also tried to change the roll_forward to D (but another issue still exists).

To Reproduce
Help us understand how you encountered the bug. Ideally ,give steps to reproduce the behavior, e.g.:
When using this input_data_model.json the model is built but then the error message appears when starting the first model run: e.g.,

Model - Window 1 of 12: 2019-01-01T00:00~(4 weeks, 2 days, 10 hours)~>2019-01-31T10:00
Optimizing Model...Gurobi Error 10003: Name too long (maximum name length is 255 characters)

Expected behavior
Solving the problem with Gurobi.

Screenshots
see model file.

Desktop (please complete the following information):

  • Which SpineOpt version? 0.8.3
  • Which toolbox version? 0.8.2
  • OS: Windows 11

Additional context
When running a shorter period, for instance just 3 days, the model solves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions