comp
This commit is contained in:
@@ -536,6 +536,8 @@ class Optimizer:
|
||||
for i in range(len(b_eq)): # Iterate over rows of A_eq
|
||||
prob += (pl.lpSum([A_eq[i][j] * x[j] for j in range(L*L)]) == b_eq[i])
|
||||
|
||||
print(prob)
|
||||
|
||||
# 6. Solve the problem
|
||||
prob.solve(pl.PULP_CBC_CMD(msg=False, gapRel=0.3))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user