<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>I’ve just tried building the
ADOL-C\examples\additional_examples\ipopt\LuksanVlcek1_sparse example in Visual
Studio 2010, (Windows 7 32-bit). Has anyone done this before? I’m getting a
strange runtime error.</DIV>
<DIV> </DIV>
<DIV>My build looks like this:</DIV>
<DIV>ADOL-C-2.1.12 (sparse)</DIV>
<DIV>ColPack 1.0.0</DIV>
<DIV>IPOPT 3.9.1</DIV>
<DIV>MA27 (the HSL linear solver routines converted to C with f2c)</DIV>
<DIV>libf2c</DIV>
<DIV>AMD acml 4.4.0 (pgi32) BLAS</DIV>
<DIV> </DIV>
<DIV>The error I get is:</DIV>
<DIV>HEAP[LuksanVlcek1_sparse.exe]: Invalid address specified to
RtlValidateHeap( 00310000, 01DBDE38 )</DIV>
<DIV> </DIV>
<DIV>Stack trace:</DIV>
<DIV> ntdll.dll!778a475c()
</DIV>
<DIV> [Frames below may be incorrect and/or missing, no
symbols loaded for ntdll.dll] </DIV>
<DIV> ntdll.dll!7786fad0()
</DIV>
<DIV> ntdll.dll!77802dd4()
</DIV>
<DIV>> adolc.dll!freeSparseHessInfos(double * *
Hcomp=0x00ec0000, double * * * Xppp=0x778b7880, double * * * Yppp=0x00321c08,
double * * * Zppp=0x00000000, double * * Upp=0x00320000, unsigned int * *
HP=0x778b7380, void * g=0x00000000, void * hr=0x00000000, int p=1, int
indep=2000352800) Line 1039 C++</DIV>
<DIV> ffffffff()</DIV>
<DIV> </DIV>
<DIV>I’m a little confused by that stack trace though, because if I step
through, I find the error actually seems to occur here (Line 492 of
ADOL-C_sparseNLP.cpp):</DIV>
<DIV>>
LuksanVlcek1_sparse.exe!MyADOLC_sparseNLP::generate_tapes(int n=4000, int
m=3998, int & nnz_jac_g=11994, int & nnz_h_lag=1) Line
492 C++</DIV>
<DIV>
LuksanVlcek1_sparse.exe!MyADOLC_sparseNLP::get_nlp_info(int & n=4000, int
& m=3998, int & nnz_jac_g=11994, int & nnz_h_lag=1,
Ipopt::TNLP::IndexStyleEnum & index_style=-842150451) Line 48 + 0x23
bytes C++</DIV>
<DIV> libIpopt.dll!656899e0()
</DIV>
<DIV> [Frames below may be incorrect and/or missing, no
symbols loaded for libIpopt.dll]</DIV>
<DIV> </DIV>
<DIV>Anyway, maybe someone has a clue what’s happening or could try to replicate
these results...</DIV>
<DIV>If it works for you, maybe you could tell me exactly how you’re building
it.</DIV>
<DIV><BR>Thanks for any help,</DIV>
<DIV>Spacecookies</DIV></DIV></DIV></BODY></HTML>