📅  最后修改于: 2022-03-11 15:00:04.186000             🧑  作者: Mango
import pulp
from pulp import *
members = range(1,27)
days = range(1,28)
roles = range(1,18)
# defining the variables
x = pulp.LpVariable.dicts("x",(members,days,roles),0,1,pulp.LpInteger)