<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Panos,<br>
    <br>
    The maximum value for a 4-byte int is 2147483647.  The Jacobian can
    be pretty much as large as you want (we routinely run problems in
    IPOPT with 100 million nonzeroes +).<br>
    <br>
    Damien<br>
    <br>
    <div class="moz-cite-prefix">On 2015-06-08 11:51 AM, Panos
      Lambrianides wrote:<br>
    </div>
    <blockquote
cite="mid:CABgE8ggMu9L1Us_1_ezUXVEbYfZFoK77gSkdZU=AK=FXX=t5LQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Hi everyone,<br>
                <br>
              </div>
              I have a question about the largest size of the Jacobian
              for the constraints.<br>
              <br>
            </div>
            While setting up the problem the variable nnz_jac_g is used
            to set up the number of non-zero constraint for the
            Jacobian.  This is of type <b>Index</b>, which is itself an
            <b>int</b> in C++.  The upper limit for int is <code>32767
              (2^15-1).<br>
              <br>
            </code></div>
          <code><font face="arial,helvetica,sans-serif">Is there a
              reason why this is an int (versus a long for example) and
              more importantly is there a way to overcome this
              limitation?  I would be happy to tweak the code if someone
              would point out the right places to do so.<br>
              <br>
            </font></code></div>
        <code><font face="arial,helvetica,sans-serif">Many thanks,<br>
          </font></code>
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>
                      <div>
                        <div><br>
                          -- <br>
                          <div class="gmail_signature">
                            <div dir="ltr">
                              <div>
                                <div dir="ltr">Panos Lambrianides
                                  <div><a moz-do-not-send="true"
                                      href="mailto:panos@soe.ucsc.edu"
                                      target="_blank">panos@soe.ucsc.edu</a></div>
                                  <div>(415) 713-6718 (Mobile)<br>
                                  </div>
                                  <div><a moz-do-not-send="true"
                                      href="https://sites.google.com/a/ucsc.edu/uncertainty-quantification/"
                                      target="_blank">https://sites.google.com/a/ucsc.edu/uncertainty-quantification/</a><br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div><br>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Ipopt mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>