<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Yves,<br>
<br>
I am not sure in what sense you are using "deterministic".<br>
<br>
I assumed you meant in a loose sense so that it annoyed you that
adding an heuristic which did not work changed the results.
Obviously adding an heuristic that does work will change results.
Making any change may make a change:-)<br>
<br>
If you mean truly deterministic i.e. two runs of same model with
same parameters give different results, then that is a bug - can
you give me an example?<br>
<br>
setRandomSeed(0) generates a seed depending on clock - -1 is
deterministic.<br>
<br>
I have modified code so that -DSAME_HEURISTIC_SEED switches off
that particular variability (I did not think it of enough general
use to make it a -- switch). I think that variability can be
useful e.g. two copies of same heuristic but with a different
seed.<br>
<br>
John<br>
<br>
On 08/02/15 08:42, Yves Touchard wrote:<br>
</div>
<blockquote cite="mid:54D72192.9080202@dxo.com" type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=windows-1252">
John,<br>
<br>
Determinism is mandatory for our process.<br>
So, any way to control the seed will be appreciate!<br>
Maybe, you could also implement this feature with a command-line
argument (--randomHeuristicSeed)?<br>
<br>
Two other questions:<br>
<ul>
<li>What is the exact use of randomCbcSeed. I don't set it (and
did not notice and determinism problem) and the default value
(-1) seems to generate a new seed each time cbc is launched?</li>
<li>Setting cutlength to 10000030 leads to determinism problems.
Is it also expected?</li>
</ul>
<p>Thanks.<br>
</p>
<p>Yves<br>
</p>
<br>
<div class="moz-cite-prefix">Le 07/02/2015 18:00, <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:cbc-request@list.coin-or.org">cbc-request@list.coin-or.org</a>
a écrit :<br>
</div>
<blockquote
cite="mid:mailman.3.1423328401.12631.cbc@list.coin-or.org"
type="cite">
<pre wrap="">Send Cbc mailing list submissions to
        <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:cbc@list.coin-or.org">cbc@list.coin-or.org</a>
To subscribe or unsubscribe via the World Wide Web, visit
        <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a>
or, via email, send a message with subject or body 'help' to
        <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:cbc-request@list.coin-or.org">cbc-request@list.coin-or.org</a>
You can reach the person managing the list at
        <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:cbc-owner@list.coin-or.org">cbc-owner@list.coin-or.org</a>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Cbc digest..."
Today's Topics:
1. Re: Determinism with divingV option (John Forrest)
----------------------------------------------------------------------
Message: 1
Date: Fri, 06 Feb 2015 17:15:56 +0000
From: John Forrest <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:john.forrest@fastercoin.com"><john.forrest@fastercoin.com></a>
To: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:cbc@list.coin-or.org">cbc@list.coin-or.org</a>
Subject: Re: [Cbc] Determinism with divingV option
Message-ID: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:54D4F6CC.2060404@fastercoin.com"><54D4F6CC.2060404@fastercoin.com></a>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
Yves,
It is to be expected! When an heuristic is added it is given an initial
seed for use in generating pseudo random numbers. This seed is changed
depending on k for the k'th heuristic. So adding divingVectorLength
changes the seed for the RINS heusristic.
If you don't like that, I can easily add an ifdef so
-DSAME_HEURISTIC_SEED will switch off - in CbcModel:addHeuristic.
John
On 06/02/15 14:03, Yves Touchard wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
I got a determinism problem with the lp file (and maybe others)
located here: /<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.dropbox.com/s/0i7c84lbm2pvyl3/t1.lp?dl=0/">https://www.dropbox.com/s/0i7c84lbm2pvyl3/t1.lp?dl=0/</a>.
The solution file is different whether the divingV option is set or not.
Command-line is the following:
/b//in/cbc t1.lp threads 104 ratio 0.05 cutlength 30 *divingV* on
divesolves 301 multiple 1 branch printingOptions rows solution t1_0.sol/
Solution files are located here:
* Without -> /<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.dropbox.com/s/zcu8kwv9ukipaqe/t1_0.sol?dl=0/">https://www.dropbox.com/s/zcu8kwv9ukipaqe/t1_0.sol?dl=0/</a>
* With -> /<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.dropbox.com/s/jc1co4yeg9i13vw/t1_1.sol?dl=0/">https://www.dropbox.com/s/jc1co4yeg9i13vw/t1_1.sol?dl=0/</a>
I tried with both trunk revision 2102 and 2128.
Could you tell if it is an expected behaviour or not?
Thanks & Regards
Yves
------------------------------------------------------------------------------
This message and any attachments (the "message") are confidential and
intended solely for the addressee(s). Any unauthorized use or
dissemination is prohibited. E-mails are susceptible to alteration.
Neither DxO Labs nor any of its subsidiaries or affiliates shall be
liable for the message if altered, changed or falsified.
Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont
confidentiels et ?tablis ? l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autoris? est interdite. Tout
message ?lectronique est susceptible d'alt?ration. DxO Labs et ses
filiales d?clinent toute responsabilit? au titre de ce message s'il a
?t? alt?r?, modifi? ou falsifi?.
_______________________________________________
Cbc mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a>
</pre>
</blockquote>
<pre wrap="">-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://list.coin-or.org/pipermail/cbc/attachments/20150206/0f597d30/attachment-0001.html"><http://list.coin-or.org/pipermail/cbc/attachments/20150206/0f597d30/attachment-0001.html></a>
------------------------------
_______________________________________________
Cbc mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a>
End of Cbc Digest, Vol 92, Issue 5
**********************************
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Cbc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a>
</pre>
</blockquote>
<br>
</body>
</html>