I have built a pretty complex MIP in Python PuLP
. Obviously a bit too complex for me. When I run it it gives the following Warning:
UserWarning: Overwriting previously set objective. warnings.warn("Overwriting previously set objective.")
The problem performs some calculations but does not come to the expected solution.
The LpStatus[prob.status]
returns Optimal
The prob.objective
returns None
When I print the prob.variables()
with
for v in prob.variables():
print(v.name, "=", v.varValue)
I get __dummy = None
in between the other variables.
Can anyone explain what the __dummy = None
means in this context? Where could I look for a solution? I was pretty sure that I have only one objective function.