<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If you look at the AMPL file you will see that I did exactly that:<div class=""><br class=""></div><div class="">var ym{h in 1..H} >= 0;</div><div class=""><br class=""></div><div class="">I even added an extra constraint. But it did not help.</div><div class=""><br class=""></div><div class="">Does that rather mean that something is wrong with the AMPL Solver Library (ASL) ?<br class=""><div><blockquote type="cite" class=""><div class="">On Sep 30, 2015, at 6:07 PM, Haroldo Gambini Santos <<a href="mailto:haroldo.santos@gmail.com" class="">haroldo.santos@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type" class="">
  
  <div text="#000000" bgcolor="#FFFFFF" class="">
    Hi Thomas,<br class="">
    <br class="">
    I generated a LP (attached) where columns apparently related to ym
    variables (if I understand the .col files correctly) appear also in
    the BOUNDS section of the LP as being positive.<br class="">
    <br class="">
    It generated a different solution, apparently without negative
    values for ym variables.<br class="">
    <br class="">
    Maybe the AMPL translated model is not properly getting the bounds.
    What if you explicitly include<br class="">
    <br class="">
     ym*   >= 0<br class="">
    <br class="">
    constraints into your AMPL model and test the results ?<br class="">
    <br class="">
    Cheers<br class="">
    <br class="">
    <div class="moz-cite-prefix">On 30-09-2015 11:49, ovovis wrote:<br class="">
    </div>
    <blockquote cite="mid:16C5974F-8B5D-4285-8570-9E1A9E2624CC@ovovis.de" type="cite" class="">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252" class="">
      I generated the MPS file out of AMPL. If I understand this process
      correctly then the variables will be abbreviated and the .col and
      .row files, that I sent you as well, are meant to translate the
      mps variables into the original names. Then you should have
      already all information necessary to reproduce the original names.
      <div class=""><br class="">
      </div>
      <div class="">But maybe I misunderstood your question.</div>
      <div class=""><br class="">
      </div>
      <div class="">Please let me know.</div>
      <div class=""><br class="">
      </div>
      <div class="">Thomas</div>
      <div class=""><br class="">
        <div class="">
          <blockquote type="cite" class="">
            <div class="">On Sep 30, 2015, at 4:12 PM, Haroldo Gambini
              Santos <<a moz-do-not-send="true" href="mailto:haroldo.santos@gmail.com" class="">haroldo.santos@gmail.com</a>>
              wrote:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta content="text/html; charset=windows-1252" http-equiv="Content-Type" class="">
              <div text="#000000" bgcolor="#FFFFFF" class=""> Hi Thomas,<br class="">
                <br class="">
                I converted your MPS to LP to take a look (don't have
                AMPL here). <br class="">
                Strangely no "bounds" section is generated. <br class="">
                <br class="">
                The MPS conversion also lost the original names, can yon
                generate including the original names so that the
                specific result for variable ym is visible ?<br class="">
                <br class="">
                Cheers<br class="">
                <br class="">
                <div class="moz-cite-prefix">On 30-09-2015 10:17, ovovis
                  wrote:<br class="">
                </div>
                <blockquote cite="mid:EBCDFC4B-B3D8-478C-9076-76A1B7304404@ovovis.de" type="cite" class="">
                  <meta http-equiv="Content-Type" content="text/html;
                    charset=windows-1252" class="">
                  Hi Haraldo,
                  <div class=""><br class="">
                  </div>
                  <div class="">have you had a chance to look at the lp
                    yet ?</div>
                  <div class=""><br class="">
                  </div>
                  <div class="">Would be great to hear from you. Let me
                    know if I can be of any further help.</div>
                  <div class=""><br class="">
                  </div>
                  <div class="">Thomas</div>
                  <div class=""><br class="">
                    <div class="">
                      <blockquote type="cite" class="">
                        <div class="">On Sep 28, 2015, at 3:44 PM,
                          Haroldo Gambini Santos <<a moz-do-not-send="true" href="mailto:haroldo.santos@gmail.com" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:haroldo.santos@gmail.com">haroldo.santos@gmail.com</a>>
                          wrote:</div>
                        <br class="Apple-interchange-newline">
                        <div class="">
                          <meta content="text/html;
                            charset=windows-1252" http-equiv="Content-Type" class="">
                          <div text="#000000" bgcolor="#FFFFFF" class="">
                            Hi Thomas,<br class="">
                            <br class="">
                            Can you send the LP where the problem occurs
                            ?<br class="">
                            <br class="">
                            Cheers<br class="">
                            <br class="">
                            <div class="moz-cite-prefix">On 28-09-2015
                              01:37, ovovis wrote:<br class="">
                            </div>
                            <blockquote cite="mid:E0006923-BE80-4EE7-8A57-DAA06155FE87@ovovis.de" type="cite" class="">
                              <meta http-equiv="Content-Type" content="text/html;
                                charset=windows-1252" class="">
                              Dear cbc team,
                              <div class=""><br class="">
                              </div>
                              <div class="">my name is Thomas Enge from
                                Berlin Germany. We are a small (2
                                persons) start up company (see also <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.ovovis.de/"></a><a class="moz-txt-link-abbreviated" href="http://www.ovovis.de/">www.ovovis.de</a> and

                                then About us). We use AMPL + cbc
                                internally to provide a portfolio
                                optimization service to energy traders.
                                So far we only ran tests with our
                                potential customers when we detected
                                that cbc violates the domain definition
                                of variables in the solution for
                                specific problem settings. Our variables
                                are defined as >= 0, but the result
                                also produces negative numbers for these
                                variables. This is the case for version
                                2.9.4 - 2.9.6. </div>
                              <div class=""><br class="">
                              </div>
                              <div class="">My question is how can we
                                address this issue best to you ? And is
                                there a way to receive a quick fix or do
                                we need to wait for the next stable
                                release ? The latter is very important
                                for us to understand since it effects
                                our go-live date.</div>
                              <div class=""><br class="">
                              </div>
                              <div class="">Thanks in advance for your
                                help</div>
                              <div class=""><br class="">
                              </div>
                              <div class="">Thomas Enge</div>
                              <br class="">
                              <br class="">
                              <div apple-content-edited="true" class="">
                                OvvvvvvvvvvvvvvvvvvvOvis<br class="">
                                <br class="">
                                ovovis GmbH<br class="">
                                Dr. Thomas Enge<br class="">
                                Stargarder Str. 57<br class="">
                                D-10437 Berlin<br class="">
                                <br class="">
                                M: +49 1515 910 5118<br class="">
                                F: +49 30 538 10 188<br class="">
                                E: <a moz-do-not-send="true" href="mailto:tenge@ovovis.de" class="">tenge@ovovis.de</a><br class="">
                                W: <a moz-do-not-send="true" href="http://www.ovovis.de/" class="">www.ovovis.de</a><br class="">
                                --------------------------------------<br class="">
                                Amtsgericht Charlottenburg<br class="">
                                HRB 116742B<br class="">
                                Vat-ID: DE262642185<br class="">
                                <br class="">
                                <br class="">
                                <br class="">
                                <br class="">
                                <br class="">
                                <br class="">
                                <br class="">
                                <br class="">
                                <br class="">
                              </div>
                              <br class="">
                              <br class="">
                              <fieldset class="mimeAttachmentHeader"></fieldset>
                              <br class="">
                              <pre class="" wrap="">_______________________________________________
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>
                            <br class="">
                            <pre class="moz-signature" cols="72">-- 
==================================================
Haroldo Gambini Santos
D.Sc, Computer Science
Universidade Federal de Ouro Preto
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.decom.ufop.br/haroldo/">http://www.decom.ufop.br/haroldo/</a></pre>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <br class="">
                  </div>
                </blockquote>
                <br class="">
                <pre class="moz-signature" cols="72">-- 
==================================================
Haroldo Gambini Santos
D.Sc, Computer Science
Universidade Federal de Ouro Preto
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.decom.ufop.br/haroldo/">http://www.decom.ufop.br/haroldo/</a></pre>
              </div>
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br class="">
    <pre class="moz-signature" cols="72">-- 
==================================================
Haroldo Gambini Santos
D.Sc, Computer Science
Universidade Federal de Ouro Preto
<a class="moz-txt-link-freetext" href="http://www.decom.ufop.br/haroldo/">http://www.decom.ufop.br/haroldo/</a></pre>
  </div>

<span id="cid:17E47AFC-BF55-4DD5-A58C-5B4E0C5C0B90@Speedport_W_724V_Typ_A_05011603_00_007"><scheduledevrel.lp.tar.gz></span></div></blockquote></div><br class=""></div></body></html>