Skip to content

time_limit parameter doesn't work even if I turn off the presolve #2226

Open
@paramshah-official

Description

@paramshah-official

I am modeling my MILP model in pyomo in python. It usually takes 10-20 seconds to solve these models. However in some cases, the model gets stuck in an infinite loop. So I turned off the presolve and the issue was resolved for a model but it is again stuck with different parameters but same model. (Even after turning off the presolve).

The time_limit parameter also doesn't seem to work.

options = { 'presolve': 'off', 'time_limit': 60, 'parallel': 'on' } Solver.highs_options = options

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions