<div dir="ltr">I think you can add <span style="font-size:12.8px">-DCLP_OUTPUT_FORMAT ="%20.12g" to the compiler parameters in the project settings of visual studio</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 21, 2017 at 1:05 PM, John Forrest <span dir="ltr"><<a href="mailto:john.forrest@fastercoin.com" target="_blank">john.forrest@fastercoin.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_-4430771939395201603moz-cite-prefix">Nicolas,<br>
<br>
I only use Linux, so maybe someone else can help.<br>
<br>
I think that for Visual Studio you have to modify
Clp/src/config_default.h by hand. If so then I would try adding
#define CLP_OUTPUT_FORMAT ="%20.12g". I am not sure if you need
the "". I hope someone will correct me if I am wrong.<span class="HOEnZb"><font color="#888888"><br>
<br>
John Forrest <br></font></span><div><div class="h5">
On 21/09/17 14:24, <a class="m_-4430771939395201603moz-txt-link-abbreviated" href="mailto:nicolas.derhy@engie.com" target="_blank">nicolas.derhy@engie.com</a> wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div class="m_-4430771939395201603WordSection1">
<p class="MsoNormal"><span style="color:#1f497d">Hi John,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-US">Can
you explain me how to do this ?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-US">I
have downloaded source code and I compiled it successfully
(using Visual Studio 2010).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-US">I
found some CXXDEFS in the configure file but I do not know
what to modify.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-US">Nicolas<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:windowtext">De :</span></b><span style="color:windowtext"> Cbc
[<a class="m_-4430771939395201603moz-txt-link-freetext" href="mailto:cbc-bounces@coin-or.org" target="_blank">mailto:cbc-bounces@coin-or.<wbr>org</a>]
<b>De la part de</b> John Forrest<br>
<b>Envoyé :</b> mardi 19 septembre 2017 18:57<br>
<b>À :</b> <a class="m_-4430771939395201603moz-txt-link-abbreviated" href="mailto:cbc@list.coin-or.org" target="_blank">cbc@list.coin-or.org</a><br>
<b>Objet :</b> Re: [Cbc] Increase number of digits in
solution file<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Nicolas,<br>
<br>
When you configure cbc add to CXXDEFS<br>
<br>
-DCLP_OUTPUT_FORMAT ="%20.12g"<br>
<br>
or whatever you want.<br>
<br>
John Forrest<br>
<br>
On 19/09/17 16:02, <a href="mailto:nicolas.derhy@engie.com" target="_blank">nicolas.derhy@engie.com</a> wrote:<span style="font-size:12.0pt"><u></u><u></u></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi everybody,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I often use cbc exe.
It works very well and each time I use it, I add to the
command line “-solution mySolution.txt” in order to
recuperate the optimal solution.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">My problem is that the
values stored in the solution file lacked sometimes of
precision when I need a lot of digits.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">For example, I
recently obtained 1.5596969e+008 whereas I was hoping for
155969687.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I tried several
options like –output but I did not find any option that
will fit my expectations.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Is there a way to
increase the number of digits in solution file ?</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Nicolas</span><u></u><u></u></p>
<p>ENGIE Mail Disclaimer: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.engie.com_disclaimer_&d=DwQFAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=anc8oE2IRL39guSdrbI6atT3s0V2ObFOaTDgJHLf9-c&s=mjNThllnDqmDRcNqpqksHEfbKv9yhq5d4f8mdpJscRs&e=" target="_blank">
http://www.engie.com/<wbr>disclaimer/</a><u></u><u></u></p>
<p class="MsoNormal"><span><br>
<br>
<br>
<u></u><u></u></span></p>
<pre>______________________________<wbr>_________________<u></u><u></u></pre>
<pre>Cbc mailing list<u></u><u></u></pre>
<pre><a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><u></u><u></u></pre>
<pre><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_cbc&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=anc8oE2IRL39guSdrbI6atT3s0V2ObFOaTDgJHLf9-c&s=WQyrZaz7e_48jLExsKGJZLzrV8DuJrdS4pbnzRZCLhM&e=" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=https-3A__list.<wbr>coin-2Dor.org_mailman_<wbr>listinfo_cbc&d=DwICAg&c=Ngd-<wbr>ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLx<wbr>WPA_2Wlc4&r=js2M0T-<wbr>3OIMIVDvokcKjokJbk0F8QOCd0mT4F<wbr>sVFE88&m=<wbr>anc8oE2IRL39guSdrbI6atT3s0V2Ob<wbr>FOaTDgJHLf9-c&s=WQyrZaz7e_<wbr>48jLExsKGJZLzrV8DuJrdS4pbnzRZC<wbr>LhM&e=</a> <u></u><u></u></pre>
</blockquote>
<p><u></u> <u></u></p>
</div>
<p>ENGIE Mail Disclaimer:
<a class="m_-4430771939395201603moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.engie.com_disclaimer_&d=DwMD-g&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=QLQl3jHZx6hPNKTb0I9pud73uBDZjSYyVOorevkAFrU&m=twctdVqG8x_S3LcNeNMh_E3U3_cH9YdWaXeaESUBOE0&s=IEjdcmffNopDjU_gWPBZ0fyonrmKskqA_k2C5Fqd_AA&e=" target="_blank">http://www.engie.com/<wbr>disclaimer/</a></p>
</blockquote>
<p><br>
</p>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_cbc&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=QLQl3jHZx6hPNKTb0I9pud73uBDZjSYyVOorevkAFrU&m=twctdVqG8x_S3LcNeNMh_E3U3_cH9YdWaXeaESUBOE0&s=tX_0lqmYf6lgmM238Sh7IWf8BgFrOAG2c7GepHYA_tU&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=https-3A__list.<wbr>coin-2Dor.org_mailman_<wbr>listinfo_cbc&d=DwICAg&c=Ngd-<wbr>ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLx<wbr>WPA_2Wlc4&r=<wbr>QLQl3jHZx6hPNKTb0I9pud73uBDZjS<wbr>YyVOorevkAFrU&m=twctdVqG8x_<wbr>S3LcNeNMh_E3U3_<wbr>cH9YdWaXeaESUBOE0&s=tX_<wbr>0lqmYf6lgmM238Sh7IWf8BgFrOAG2c<wbr>7GepHYA_tU&e=</a><br>
<br></blockquote></div><br></div>