product mix model using soco. More...
Go to the source code of this file.
Functions | |
| def | prodmix (I, K, a, p, epsilon, LB) |
| def | make_data () |
Variables | |
| I | |
| K | |
| a | |
| p | |
| epsilon | |
| LB | |
| model = prodmix(I,K,a,p,epsilon,LB) | |
| x | |
| rhs | |
product mix model using soco.
Definition in file prodmix_soco.py.
| def prodmix_soco.make_data | ( | ) |
creates example data set
Definition at line 38 of file prodmix_soco.py.
| 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 8 of file prodmix_soco.py.