Closed svigerske closed 3 years ago
Hmm... I am not at the computer at the moment. One thing would be if not all of the variables get a value, e.g. something went wrong in the reformulation in SHOT so that the reformulated problem is malformed. I remember something about CPLEX being picky that the MIP start should be complete.
Yes, cplexVars
has more elements than startVal
.
I can wait until you are back at a computer. :) I was just testing the current SHOT in anticipation of the next release.
This should be fixed in master now. Can you check @svigerske?
I took the changes from 7f43837a4c7 and that seems to fix it.
(I had actually tried the same changes with the startVars
on my uncessesful attempt, but looks like the change to MIPStartAuto
is essential.)
With GAMS modellib model
gear
and current master + changes from #124, I get a deference of a null-pointer inside IloCPLEX fromI don't really know where this comes from. cplexVars and startVal seem to be non-null and also cplexInstance.getImpl() isn't null.
Do you have some idea what goes wrong?