Originally posted by: franzi_ich
Hello everyone,
I'm very new to CPLEX and I've got a question. I have a scheduling problem. Before solving it could be checked, if the type of product is available in the stock or not. There is one product each is defined by model and color. In CPLEX I write that:
int model[I] = [1,2,2,1,2,1,1,1,2,1];
int color[I] = [1,1,1,1,1,2,2,2,2,1];
So there are 10 products. In stock there is one product per type ((1,1) or (1,2)). Now I need a function, which combines the model and color, and which check if the product is in stock or not.
Please help me. If you need more information, ask me.
Thank you.
#CPLEXOptimizers#DecisionOptimization