Forum Discussion

FICO's avatar
FICO
Community Manager
3 years ago

Unexpected behavior when using xpress.sum over numpy array slice of xpress variables

I have an application using a 4-D numpy array of xpress variables of which I only want to sum two dimensions leaving a 2-D numpy array. This gives a strange behavior (incorrect) for the first term of...