PySCIPOpt  5.1.1
Python Interface for the SCIP Optimization Suite
pfs.py File Reference

model for the permutation flow shop problem More...

Go to the source code of this file.

Namespaces

 pfs
 

Functions

def example ()
 
def make_data (n, m)
 
def permutation_flow_shop (n, m, p)
 

Variables

 f
 
int m = 10
 
def model = permutation_flow_shop(n, m, p)
 
int n = 15
 
def p = make_data(n, m)
 
 s
 
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...
 
 x
 

Detailed Description

model for the permutation flow shop problem

Definition in file pfs.py.