Originally posted by: Nishit_Bhavsar
Hello,
I have now implemented getBasisStatuses() and setBasisStatuses();
solution values for a variable that I want to use (for warm start) is as below:
[1, 0, 1, 0, 0, 0.452509, 0.365079, 0.608053, 0, 0].
I populate cstat and rstat using: cplex.getBasisStatuses(cstat,vars, rstat, rng);
And then assigned them for warmstart using: cplex.setBasisStatuses(cstat,vars, rstat,rng);
But when I print cstat, it prints like below:
[Basic, AtLower, AtUpper, AtLower, AtLower, Basic, Basic, Basic, AtLower, AtLower]
rstat values are also printed as AtLower and Basic
I am wondering whether cstat and rstat have been populated correctly. How can I ensure that the exactly same values(That I want) have been assigned for warm start?
#CPLEXOptimizers#DecisionOptimization