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...model for the permutation flow shop problem
Definition in file pfs.py.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4