Closed ca0h closed 3 years ago
Thanks! Good catch! I apparently had the following in line 32 of power.jl:
((xL < 0.0) && (0.0 <= xU) && (0.0 <= x)) && (3.0*x^2)/xU
when there should have been a return statement:
((xL < 0.0) && (0.0 <= xU) && (0.0 <= x)) && return (3.0*x^2)/xU
I've fixed this in the master and I'll tag a new minor release some time tomorrow.
Release for package with bug fix now underway. I'm closing this so the TagBot history shows this is resolved in that release.
Observed an incorrect subtangent of differentiable McCormick relaxations:
Code to reproduce this figure:
Relevant environment information: versioninfo()
Pkg.status()