[Ipopt] Question about largest Jacobian
Damien
damien at khubla.com
Mon Jun 8 14:02:09 EDT 2015
Panos,
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 +).
Damien
On 2015-06-08 11:51 AM, Panos Lambrianides wrote:
> Hi everyone,
>
> I have a question about the largest size of the Jacobian for the
> constraints.
>
> 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
> *Index*, which is itself an *int* in C++. The upper limit for int is
> |32767 (2^15-1).
>
> |
> |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.
>
> |
> |Many thanks,
> |
>
> --
> Panos Lambrianides
> panos at soe.ucsc.edu <mailto:panos at soe.ucsc.edu>
> (415) 713-6718 (Mobile)
> https://sites.google.com/a/ucsc.edu/uncertainty-quantification/
>
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20150608/62f38574/attachment.html>
More information about the Ipopt
mailing list