You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a summer undergraduate research assistant working with Dr. Kamil Khan. We found that the concave relaxation of exp(x::MC) seems to be computed as NaN when x is degenerate. Presumably this is because of division by 0 in the secant formula in the concave relaxation of exp.
Example (using Julia v1.9.2 and McCormick.jl v0.13.4):
Hey @StevenChui88. Apologies for the delayed response.
Thank you for pointing this out. We have made a change to the master branch that should address this issue.
Previously, McCormick checked the difference between the exp of the interval rather than the difference between the interval itself and this led to additional floating-point operations which essentially ignored the degeneracy.
We plan to look into the use of outward-rounded intervals in the future as a more extensive change.
There are a few other changes we have planned before we tag another release, so keep an eye out.
I am a summer undergraduate research assistant working with Dr. Kamil Khan. We found that the concave relaxation of
exp(x::MC)
seems to be computed asNaN
when x is degenerate. Presumably this is because of division by 0 in the secant formula in the concave relaxation ofexp
.Example (using Julia v1.9.2 and McCormick.jl v0.13.4):
The text was updated successfully, but these errors were encountered: