[Symphony] symphony

Joost joost at dsj.nl
Fri Feb 3 07:45:24 EST 2012


First of all thanks for looking into this.

Re-directing the output to a file in a black box use case and then
parsing it, is indeed a good option.

In addition to the significant digits, the variable names are also
truncated. If you use a math program generation language with
verbose/descriptive variable names, then you loose critical information.
E.g. the columns "assignCustomerToFactory[i,j]" will print like
"assignC", making it impossible to reconstruct the solution. Although
superfluous to state, but note that in real-life problems indices are
typically strings with descriptive names as well. It would be convenient
to allow for example column names upto 128 chars.

Best,
Joost 

Illustration:

+++++++++++++++++++++++++++++++++++++++++++++++++++
Column names and values of nonzeros in the solution
+++++++++++++++++++++++++++++++++++++++++++++++++++
assignC 	       0 	    1.00000
assignC 	       1 	    1.00000
assignC 	       2 	    1.00000
assignC 	       3 	    1.00000
assignC 	       5 	    1.00000
assignC 	       6 	    1.00000
assignC 	       7 	    1.00000
assignC 	      16 	    1.00000

-----Oorspronkelijk bericht-----
Van: symphony-bounces at list.coin-or.org
[mailto:symphony-bounces at list.coin-or.org] Namens Ted Ralphs
Verzonden: zaterdag 28 januari 2012 17:59
Aan: Paulo Gouveia
CC: symphony at list.coin-or.org
Onderwerp: Re: [Symphony] symphony

The easiest way to get the solution into a text file with the black
box solver would be to redirect the output to a file and then parse it
to extract the solution. I suppose it would not be hard to provide an
option for storing the output in a file if that's needed. As for
changing the number of significant digits displayed in the solution,
the only way to do that at the moment would be to change the source
code to add more digits to the print statements. Of course, all this
would be easy if you just wrote a small driver and called the SYMPHONY
library through the API. Then you could grab the solution yourself and
output in any format and to any location you like. If that's not an
option for you, I can try to add these options.

Cheers,

Ted

On Fri, Nov 18, 2011 at 3:52 PM, Paulo Gouveia <paulossg at gmail.com>
wrote:
> Dear,
>
> I am working with the symphony.exe in Windows and I would like to
export the
> solution to a .txt file.
> Is there how to do this?
> Is there how to increasing the amount of characters of the variables
that
> appear in the solution, because it is truncated.
>
> Best Regards
>
> Paulo Gouveia
> _______________________________________________
> 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
_______________________________________________
Symphony mailing list
Symphony at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/symphony



More information about the Symphony mailing list