[Scip] Problem when reading debug solution

michael.winkler at zib.de michael.winkler at zib.de
Wed Apr 30 02:22:27 CEST 2014


Hi Jana,

I looked at the output and your result seems strange. I would urge you to
first try a "make OPT=dbg clean" and then make your problem again.

Maybe another issue could be that some variable name in the problem have
some special character in the end which is not correctly printed in the
solution file or vice versa, e.g. DOS carriage returns? Maybe some
variable names have a trailing whitespace in your problem?

Best, Michael

> Hi SCIP users!
>
> I got a strange problem when I try to read a debug solution.
>
> My debug solution (attached file testsolrelax) is is slightly modified
> version of a solution which I got from SCIP before.
>
> When I read it as a debug solution only 5 out of 51 variables get
> recognized.
>
> ***** debug: reading solution file <testsolrelax>
> ***** debug: read 51 non-zero entries (5 variables found)
>
> I made some additional checks (see attached file output).
> I printed the names of the variables which are found/not found in
> scip/debug.c and afterwards the variables I get when I call
> SCIPgetVars(...). I also printed the pointer to the scip instance to
> make sure it's the same.
>
> The not found variables appear with the same name, so I don't understand
> why they are not found when constructing the debug solution. The 5
> variables which are found are the the first in the solution file...
>
> Before I get even more confused: does anyone have an idea what I might
> have missed?
>
> Thanks,
> Jana
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip
>




More information about the Scip mailing list