问题 I am making some tests with Gekko library from python, and have a small problem in which I know the solution. The complet code is as follows: from gekko import GEKKO P = [[3.0,3.55,5.18,7.9,5.98], [1.56,1.56,2.48,3.15,2.38], [1.49,4.96,6.4,9.4,6.5]] M = [[1,2,3,4,5], [6,7,8,9,10], [11,12,13,14,15]] mm = M pp = P c1 = [300,200,150,250,180] qtde = [10,10,10] flex = [0.2,0.2,0.2] m = GEKKO(remote=False) ni = 3 nj = 5 x = [[m.Var(lb=0,integer=True) for j in range(nj)] for i in range(ni)] s = 0