tiny kron bug
Hi, I came across a tiny bug that crept into the kron implementation going from 1.1.3 to 1.2.0. The issue is that kron no longer seems to work inside an add_constraint expression (and possibly fails more generally). Instead, an error message is issued that the variable is not valued. The problem appears to be that the line elif expB.isconstant():
went missing in tools.py. I believe it should be after line 2255, prior to BB = np.array(expB.valueAsMatrix)
. Restoring the line fixed the issue for me.