[Symphony] variables having more than 8 characters

fdf dfd foreverf2 at gmail.com
Wed Dec 12 03:14:01 EST 2012


Hello Ted

I'm using 5.4.0 version and I changed 8 to 10. But solution screen didn't
change.

printf("%10d %10.3f\n", env->best_sol.xind[j],

solution screen:

+++++++++++++++++++++++++++++++++++++++++++++++++++

Column names and values of nonzeros in the solution

+++++++++++++++++++++++++++++++++++++++++++++++++++

X0010070      1.000

X0020010      0.000

.

.

.Best regards

Tezcan


2012/12/11 Ted Ralphs <ted at lehigh.edu>

> The quickest solution is to modify the source code directly. There are
> several places where solutions may be printed out (you can find these by
> looking for the string "Solution" in files within the directory
> SYMPHONY/src/Master). Assuming you are only concerned with the final
> solution, look in SYMPHONY/src/Master/main.c for where the solution gets
> printed out (Search for "Solution"). In Version 5.4.4, it is on line 399.
> On the line with the "printf" statement, change the "8" to whatever you
> like and that will fix it. We'll look at this in a future version and see
> what the best way to fix it is.
>
> Cheers,
>
> Ted
>
> On Tue, Dec 11, 2012 at 7:42 AM, fdf dfd <foreverf2 at gmail.com> wrote:
>
>> Hello
>>
>> In our project, we use variables which have more than 8 characters.
>> However, at the solution screen, maximum 8 characters of variables are
>> displayed. How can we solve this problem?
>>
>> Best regards
>>
>> Tezcan
>>
>>
>>
>>
>>
>> _______________________________________________
>> Symphony mailing list
>> Symphony at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/symphony
>>
>>
>
>
> --
> Dr. Ted Ralphs
> Associate Professor, Lehigh University
> (610) 628-1280
> ted 'at' lehigh 'dot' edu
> coral.ie.lehigh.edu/~ted
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20121212/04035454/attachment.html>


More information about the Symphony mailing list