Forum Discussion

FICO's avatar
FICO
Community Manager
3 years ago

xpress.Sum speed and behavior on numpy arrays

As a follow-up to my question posted recently below, please consider the following code snippet: import xpress as xp import numpy as np x = xp.vars(5, 5, 5, name = 'x') sum1 = np.array([xp.Sum([x[:...