Dual error warning

Dear people,
I get this warning from the solver, which says that there is something wrong with dual values. I get the dual values in my result data frame. But I do not understand if this warning makes sense or not. Does anybody have a similar experience with this?

WARNING: Reassigning the non-component attribute dual on block (model).Model
    with a new Component with type <class 'pyomo.core.base.suffix.Suffix'>.
    This is usually indicative of a modelling error. To avoid this warning,
    explicitly delete the attribute:
        del Model.dual
10:13:34-WARNING-Reassigning the non-component attribute dual
on block (model).Model with a new Component
with type <class 'pyomo.core.base.suffix.Suffix'>.
This is usually indicative of a modelling error.
To avoid this warning, explicitly delete the attribute:
    del Model.dual
WARNING: Reassigning the non-component attribute rc on block (model).Model
    with a new Component with type <class 'pyomo.core.base.suffix.Suffix'>.
    This is usually indicative of a modelling error. To avoid this warning,
    explicitly delete the attribute:
        del Model.rc
10:13:34-WARNING-Reassigning the non-component attribute rc
on block (model).Model with a new Component
with type <class 'pyomo.core.base.suffix.Suffix'>.
This is usually indicative of a modelling error.
To avoid this warning, explicitly delete the attribute:
    del Model.rc
Set parameter Username
Academic license - for non-commercial use only - expires 2024-03-11
Read LP format model from file C:\Users\mallad\AppData\Local\Temp\tmpxnripj9t.pyomo.lp
Reading time = 0.36 seconds
x127059: 135805 rows, 120489 columns, 391680 nonzeros
Set parameter QCPDual to value 1
Gurobi Optimizer version 10.0.1 build v10.0.1rc0 (win64)

I wish you a nice weekend ahead.

Best Regards,
Dev

Hi Dev,

sorry for the very delayed response. If I’m not mistaken, this warning is passed from pyomo and can safely be ignored as far as oemof.solph code is concerned.

Best regards,
Johannes