model for the permutation flow shop problem More...
Go to the source code of this file.
Functions | |
def | permutation_flow_shop (n, m, p) |
def | make_data (n, m) |
def | example () |
Variables | |
int | n = 15 |
int | m = 10 |
p = make_data(n,m) | |
model = permutation_flow_shop(n,m,p) | |
x | |
s | |
f | |
list | seq = [j for (k,j) in sorted([(k,j) for (j,k) in x if model.getVal(x[j,k]) > 0.5])] |
for (j,k) in sorted(x): if x[j,k].X > 0.5: print(x[j,k].VarName,x[j,k].X More... | |
model for the permutation flow shop problem
Definition in file pfs.py.
def pfs.make_data | ( | n, | |
m | |||
) |
def pfs.permutation_flow_shop | ( | n, | |
m, | |||
p | |||
) |