Originally posted by: ChWeil
Hi guys,
I have a scheduling problem in which setup times must be included. I modeled them with a transition matrix which works fine.
One part of the objective function is to minimize the setup costs so setup times are multiplied by a cost factor. Some extractions of my formulation:
int jobs
int scenarios //scenarios for different processing times of jobs
...
st[j in jobs][k in jobs]=...;//setup times between jobs
...
tuple triplet { int j, int k, int st };
{triplet} setup = { <j,k,st[j][k]> | j,k in jobs : 0 <= st[j][k]};
....
forall (s in scenarios)
noOverlap (seq[s], setup, 1);
If I just minimize st[j][k] it calculates all combinations in the matrix, but I need the cost only for the transitions in the actual sequence,
So far I tried to introduce pseudo-types and use a typeOfNext formulation such as st[Typ[j]] [typeOfNext (seq[s], y[s][j], 0,0]. Unfortunately it returns that the model is infeasible because the constraint typeOfNext is always false and the elements in this formulation are out of range,
Does someone have a solution for my problem?
Best regards
#DecisionOptimization#OPLusingCPOptimizer