Originally posted by: brown_rice
I want to warm start my model by giving the values of three variables. Here is what I do;
var vectors = new IloOplCplexVectors();
vectors.attach(m1Opl.Y, initial.Y.solutionValue);
vectors.attach(m1Opl.X, initial.X.solutionValue);
vectors.attach(m1Opl.shipment, initial.shipment.solutionValue);
vectors.setStart(m1Cplex);
I am little worried if this is correct or not. Do you think that it only sets the values for shipment variables? Should I create and independent vector for each variable?
Another question is if I use mip start rather than vector, would that be the same thing?
cplex.addMIPStart(m1Opl.Y, initial.Y.solutionValue);
cplex.addMIPStart(m1Opl.X, initial.X.solutionValue);
cplex.addMIPStart(m1Opl.shipment, initial.shipment.solutionValue);
#DecisionOptimization#OPLusingCPLEXOptimizer