<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Dear Zhanibev,<br>
      <br>
      1. I try to answer both of your questions at once:<br>
      <br>
          The definition of an integer in SCIP is:<br>
      <br>
          x is integer <=> x \in [ [x] - eps, [x] +eps ].<br>
          The standard numeric epsilon is eps=10^-6 which gives you
      reasonable integral values on most instances.<br>
      <br>
          If I'm not mistaken, SCIP already solved your integer problem
      within an eps of 10^-12. <br>
      <br>
          Just for the sake of completeness: you can change the floating
      epsilon from inside the SCIP interactive shell:<br>
          set numerics epsilon 0.1<br>
      <br>
      2. Decreasing number of LP iterations<br>
      <br>
          I guess you are the very first to complain about a decrasing
      number of LP iterations during the solve ;)<br>
          The first reason is that at the first node (the root node),
      SCIP solves a lot more LPs than at consecutive<br>
          nodes during the cut-separation loop. The second reason is
      that during branch-and-bound, <br>
          not every node-LP needs to solved from scratch (i.e., by
      feeding the node LP into the LP solver as a new <br>
          problem).<br>
          Basically, the LP relaxation at a node usually differs from
      its parent node's LP relaxation by a single <br>
          bound change, namely that of the variable branched on. The LP
      basis information stays dually <br>
          feasible and is quickly reoptimized (made primal feasible) by
      a small number of dual simplex interations.<br>
          This is called warm starting and should be almost always be
      faster (in terms of the LP iteration count)<br>
          than resolving the LP from scratch. <br>
          SCIP solves the branch-and-bound tree by selecting nodes in a
      depth-first-search like fashion (to some extent)<br>
          to take advantage of fast warm starting.<br>
      <br>
      Regards<br>
      Gregor<br>
      <br>
      Am 04.12.2013 06:55, schrieb Zhanibek Datbayev:<br>
    </div>
    <blockquote
cite="mid:CAOLxqifBrwqLnmJ-pGjjJh3UeQ9qR=4cQo7i3JSAM7mEXBuu_g@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hey guys,
        <div><br>
        </div>
        <div>I'm trying to tackle a MIP problem using SCIP. All of my
          variables are either integer or binary, but sometimes SCIP
          produces non-integer values. For example below all of the
          values are integers except of one which gets
          3491.99999999999. </div>
        <div><br>
        </div>
        <div>Is that expected behavior? Should I not worry about this
          kind of values and just convert them to integers (adding 0.1
          before doing that)?</div>
        <div><br>
        </div>
        <div>Thanks in advance!</div>
        <div><br>
        </div>
        <div>-Zhanibek</div>
        <div><br>
        </div>
        <div>
          <div><br>
          </div>
          <div>x#2#1                                            4215 <span
              class="" style="white-space:pre"> </span>(obj:0)</div>
          <div>x#2#5                                           56830 <span
              class="" style="white-space:pre"> </span>(obj:0)</div>
          <div>x#2#7                                            2688 <span
              class="" style="white-space:pre"> </span>(obj:0)</div>
          <div>x#2#8                                            2048 <span
              class="" style="white-space:pre"> </span>(obj:0)</div>
          <div>x#2#11                                          20315 <span
              class="" style="white-space:pre"> </span>(obj:0)</div>
          <div>x#3#10                                          82685 <span
              class="" style="white-space:pre"> </span>(obj:0)</div>
          <div>x#3#20                                           3492 <span
              class="" style="white-space:pre"> </span>(obj:0)</div>
          <div>x#4#1                                            4215 <span
              class="" style="white-space:pre"> </span>(obj:0.227623824612884)</div>
          <div>x#4#8                                            2048 <span
              class="" style="white-space:pre"> </span>(obj:0.315622376912749)</div>
          <div>x#4#10                                          82685 <span
              class="" style="white-space:pre"> </span>(obj:0.57256205816212)</div>
          <div>x#4#12                                          31615 <span
              class="" style="white-space:pre"> </span>(obj:0.297351147308957)</div>
          <div>x#4#17                                           5120 <span
              class="" style="white-space:pre"> </span>(obj:0.183683178270458)</div>
          <div>x#4#20                                           3492 <span
              class="" style="white-space:pre"> </span>(obj:0.0293412067324434)</div>
          <div>x#5#5                                           56830 <span
              class="" style="white-space:pre"> </span>(obj:0.355742408976591)</div>
          <div>x#5#7                                            2688 <span
              class="" style="white-space:pre"> </span>(obj:0.0281349154730122)</div>
          <div>x#5#11                                          20315 <span
              class="" style="white-space:pre"> </span>(obj:0.275787370980847)</div>
          <div>x#5#13                                           5540 <span
              class="" style="white-space:pre"> </span>(obj:0.0513514245076417)</div>
          <div>x#5#14                                          20735 <span
              class="" style="white-space:pre"> </span>(obj:0.300966021551557)</div>
          <div>x#5#15                                          20735 <span
              class="" style="white-space:pre"> </span>(obj:0.176821089959373)</div>
          <div>x#5#18                                           2432 <span
              class="" style="white-space:pre"> </span>(obj:3.17376668601277e-07)</div>
          <div>x#6#8                                            2048 <span
              class="" style="white-space:pre"> </span>(obj:0.000522082564132327)</div>
          <div>x#6#12                                          31615 <span
              class="" style="white-space:pre"> </span>(obj:0.00409922840858967)</div>
          <div>x#6#14                                          20735 <span
              class="" style="white-space:pre"> </span>(obj:0.00136236177674599)</div>
          <div>x#6#18                                           2432 <span
              class="" style="white-space:pre"> </span>(obj:-0.117098565680789)</div>
          <div>x#7#5                                           56830 <span
              class="" style="white-space:pre"> </span>(obj:0.00617355213116657)</div>
          <div>x#8#1                                            4215 <span
              class="" style="white-space:pre"> </span>(obj:0.000811301308183401)</div>
          <div>x#8#7                                            2688 <span
              class="" style="white-space:pre"> </span>(obj:0.16746227096924)</div>
          <div>x#8#10                                          82685 <span
              class="" style="white-space:pre"> </span>(obj:-0.00863945585761269)</div>
          <div>x#8#11                                          20315 <span
              class="" style="white-space:pre"> </span>(obj:0.0277269751371639)</div>
          <div>x#8#13                                           5540 <span
              class="" style="white-space:pre"> </span>(obj:0.198066307858387)</div>
          <div>x#8#15                                          20735 <span
              class="" style="white-space:pre"> </span>(obj:0.0286204044109112)</div>
          <div>x#8#17                                           5120 <span
              class="" style="white-space:pre"> </span>(obj:0.0021240047761656)</div>
          <div>x#8#20                                           3492 <span
              class="" style="white-space:pre"> </span>(obj:0.0878842690501064)</div>
          <div>x#9#10                                          82685 <span
              class="" style="white-space:pre"> </span>(obj:0.13516549310118)</div>
          <div>x#9#14                                          20735 <span
              class="" style="white-space:pre"> </span>(obj:0.103485318216289)</div>
          <div>x#10#7                                           2688 <span
              class="" style="white-space:pre"> </span>(obj:0.221488641675372)</div>
          <div>x#10#15                                         20735 <span
              class="" style="white-space:pre"> </span>(obj:0.0966569518978526)</div>
          <div>x#10#18                                          2432 <span
              class="" style="white-space:pre"> </span>(obj:0.00821715230798994)</div>
          <div>x#11#1                                           4215 <span
              class="" style="white-space:pre"> </span>(obj:0.0309833140905398)</div>
          <div>x#11#10                                         82685 <span
              class="" style="white-space:pre"> </span>(obj:0.193435054244922)</div>
          <div>x#11#20                              3491.99999999999 <span
              class="" style="white-space:pre"> </span>(obj:0.272961110760302)</div>
          <div>x#12#5                                          56830 <span
              class="" style="white-space:pre"> </span>(obj:0.170908606920874)</div>
          <div>x#12#8                                           2048 <span
              class="" style="white-space:pre"> </span>(obj:0.0436318450636487)</div>
          <div>x#12#12                                         31615 <span
              class="" style="white-space:pre"> </span>(obj:0.114663635932676)</div>
          <div>x#13#11                                         20315 <span
              class="" style="white-space:pre"> </span>(obj:0.113443166741343)</div>
          <div>x#13#13                                          5540 <span
              class="" style="white-space:pre"> </span>(obj:0.238776163163475)</div>
          <div>x#14#1                                           4215 <span
              class="" style="white-space:pre"> </span>(obj:0.021654717840975)</div>
          <div>x#14#7                                           2688 <span
              class="" style="white-space:pre"> </span>(obj:0.0162037953878893)</div>
          <div>x#14#12                                         31615 <span
              class="" style="white-space:pre"> </span>(obj:0.0780633298974657)</div>
          <div>x#14#13                                          5540 <span
              class="" style="white-space:pre"> </span>(obj:0.0190470353724125)</div>
          <div>x#14#17                                          5120 <span
              class="" style="white-space:pre"> </span>(obj:0.0211936119326756)</div>
          <div>x#14#18                                          2432 <span
              class="" style="white-space:pre"> </span>(obj:0.00580446075062875)</div>
          <div>x#15#8                                           2048 <span
              class="" style="white-space:pre"> </span>(obj:0.0295371902538209)</div>
          <div>x#15#11                                         20315 <span
              class="" style="white-space:pre"> </span>(obj:0.0853453710938286)</div>
          <div>x#15#20                                          3492 <span
              class="" style="white-space:pre"> </span>(obj:0.0192241961849487)</div>
          <div>x#16#5                                          56830 <span
              class="" style="white-space:pre"> </span>(obj:1.08525723231457)</div>
          <div>x#16#17                                          5120 <span
              class="" style="white-space:pre"> </span>(obj:0.252856127702844)</div>
          <div>x#17#14                                         20735 <span
              class="" style="white-space:pre"> </span>(obj:1.07428897058425)</div>
          <div>x#18#15                                         20735 <span
              class="" style="white-space:pre"> </span>(obj:0.624205140104469)</div>
          <div>x#1#12                                          31615 <span
              class="" style="white-space:pre"> </span>(obj:0.294458508903076)</div>
          <div>x#1#13                                           5540 <span
              class="" style="white-space:pre"> </span>(obj:0.0143650582634939)</div>
          <div>x#1#14                                          20735 <span
              class="" style="white-space:pre"> </span>(obj:0.0609253833279164)</div>
          <div>x#1#15                                          20735 <span
              class="" style="white-space:pre"> </span>(obj:0.223615760650029)</div>
          <div>x#1#17                                           5120 <span
              class="" style="white-space:pre"> </span>(obj:0.0466027306419037)</div>
          <div>x#1#18                                           2432 <span
              class="" style="white-space:pre"> </span>(obj:0.0053056051642484)</div>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="http://listserv.zib.de/mailman/listinfo/scip">http://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>