pyomo icon indicating copy to clipboard operation
pyomo copied to clipboard

Handle empty models in Pyomo-HiGHS interface

Open michaelbynum opened this issue 1 year ago • 2 comments
trafficstars

Summary

Currently an error gets raised when attempting to solve an empty model via the Pyomo-HiGHS interface. What should happen?

See this HiGHS issues: https://github.com/ERGO-Code/HiGHS/issues/1588

michaelbynum avatar Jan 25 '24 17:01 michaelbynum

We could add empty_model to TerminationCondition?

michaelbynum avatar Jan 25 '24 17:01 michaelbynum

This as discussed at the Pyomo dev call and we decided to add an EmptyModel termination condition to catch this case.

blnicho avatar Feb 13 '24 20:02 blnicho