Functions | |
| def | make_data () |
| def | prodmix (I, K, a, p, epsilon, LB) |
Variables | |
| a | |
| epsilon | |
| I | |
| K | |
| LB | |
| def | model = prodmix(I, K, a, p, epsilon, LB) |
| p | |
| rhs | |
| x | |
| def prodmix_soco.make_data | ( | ) |
creates example data set
Definition at line 39 of file prodmix_soco.py.
References pyscipopt.Multidict.multidict().
| def prodmix_soco.prodmix | ( | I, | |
| K, | |||
| a, | |||
| p, | |||
| epsilon, | |||
| LB | |||
| ) |
prodmix: robust production planning using soco
Parameters:
I - set of materials
K - set of components
a[i][k] - coef. matrix
p[i] - price of material i
LB[k] - amount needed for k
Returns a model, ready to be solved.
Definition at line 9 of file prodmix_soco.py.
References pyscipopt.expr.quicksum().
| a |
Definition at line 53 of file prodmix_soco.py.
| epsilon |
Definition at line 53 of file prodmix_soco.py.
| I |
Definition at line 53 of file prodmix_soco.py.
| K |
Definition at line 53 of file prodmix_soco.py.
| LB |
Definition at line 53 of file prodmix_soco.py.
| p |
Definition at line 53 of file prodmix_soco.py.
| rhs |
Definition at line 57 of file prodmix_soco.py.
| x |
Definition at line 57 of file prodmix_soco.py.