[Ipopt-tickets] [Ipopt] #226: Failure on "TripletToCSRConverter::Full_Format"
Ipopt
coin-trac at coin-or.org
Mon Dec 2 23:03:51 EST 2013
#226: Failure on "TripletToCSRConverter::Full_Format"
----------------------------------+------------------------
Reporter: galago | Owner: ipopt-team
Type: defect | Status: new
Priority: normal | Component: Ipopt
Version: 3.11 | Severity: normal
Keywords: TripletToCSRConverter |
----------------------------------+------------------------
'''Converting triplet matrix to CSR Full_Format will cause error "Access
violation reading location"'''
''Reason: a statement was ommited in "IpTripletToCSRConverter.cpp"''
{{{
240 while (jd1<idouble &&
j==ipos_double_compressed_tmp[jd1]) {
241 ipos_double_triplet_[jd2] =
ipos_double_triplet_tmp[jd1];
242 ipos_double_compressed_[jd2] = ia_tmp[i+1];
243 jd2++;
244 if (jrow!=i) {
245 ipos_double_triplet_[jd2] =
ipos_double_triplet_tmp[jd1];
246 ipos_double_compressed_[jd2] = ia_tmp[jrow+1];
247 }
248 jd1++;
249 }
}}}
----
''Solution:''
After line 246, add "jd2++;" at the end of "if(jrow!=i){...}" expression
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/226>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list