Originally posted by: SystemAdmin
[miretama said:]
Someone can help us to solve a problem LP starting from a initial solution?
We need an example about the way to set to cplex a initial solution using, for example, cplex.setVectors.
first of all, we established the next code before cplex.solve() sentence.
cplex.setParam(IloCplex::AdvInd, 1);
then we make a IloNumArray and set the initial solution. then put in the code:
cplex.setVectors(prop,0,var,0,0,0);
where prop is a IloNumArray and var is a IloNumVarArray from the models.
Is right this way or lack of anything?
thanks.
#CPLEXOptimizers#DecisionOptimization