[Scip] Problem when reading debug solution

Jana Kutscheid jkutscheid at web.de
Wed Apr 30 11:53:59 CEST 2014


Hi Michael,

thanks for your help.

Recompiling had no effect.

I only work with linux, so carriage returns shouldn't be a problem. 
Furthermore I just tried to read a totally fresh solution file which I 
got for the same problem and which I didn't modify and there was the 
same problem...

Apparently only the variables which end on #1#1 get recognized. If a 
change one of the others so that it ends on #1#1, too, I get one 
variable more... Not depending on where I put it in the solution file.
These variable names get generated exactly as the others and there are 
no whitespace characters.

Once before I had a problem with a selfconstructed solution file because 
of indentation, but I don't see this problem here.

If you or someone or someone else has an idea on what I could try I 
would be very grateful. I'm sure it is just some stupid tiny thing which 
went wrong, but at the moment I have no idea how to proceed.

Thanks,
Jana


Am 30.04.2014 02:22, schrieb michael.winkler at zib.de:
> 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