[Scip] How to display values of all variables (zero or non-zero) in standalone scip solver?

Yaron Kretchmer yaronkretchmer at gmail.com
Fri Nov 6 19:38:16 MET 2009


That's great. Thanks Tobias!

Yaron


On Fri, Nov 6, 2009 at 1:09 AM, Tobias Achterberg <achterberg at zib.de> wrote:

> I think that in the standalone solver there is no such option. The magic
> flag is the 'printzeros' argument of the SCIPprintBestSol() method. This is
> set to FALSE in SCIPdialogExecDisplaySolution() at line 781 of
> src/scip/dialog_default.c.
>
> So, what you could do is to change this in the SCIP source code and then
> recompile.
>
> Of course, you can also write your own small C/C++ program that just
> includes all the plugins, including the default SCIP shell, adds one more
> dialog entry (like "display fullsolution") which calls SCIPprintBestSol()
> with 'printzeros' == TRUE. Then, you have a SCIP shell with extended
> functionality.
>
>
> Tobias
>
>
> Yaron Kretchmer wrote:
>
>> Hi There.
>> Is there a way of getting all the values for all variables (including
>> those with zero values) in the output generated by the standalone scip
>> solver?
>>
>> Thanks
>> Yaron
>>
>>
>>
>> _______________________________________________
>> Scip mailing list
>> Scip at zib.de
>> http://listserv.zib.de/mailman/listinfo/scip
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.zib.de/mailman/private/scip/attachments/20091106/4cd7b949/attachment.html


More information about the Scip mailing list