12.07.2015 Views

Calling 32-bit NAG C DLL functions from Visual Basic

Calling 32-bit NAG C DLL functions from Visual Basic

Calling 32-bit NAG C DLL functions from Visual Basic

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

20tda = npfail.code = 0' initialise options using options structure pointer, e04 option ptrlocal e04 options ptr = e04 options ptrCall e04xxc(local e04 options ptr)printit = 1' read the options file for e04ucclocal eo4 options ptr = e04 options ptrCall e04xyc("e04ucc", "e04ucce.d", local e04 options ptr, printit, "e04ucce.r", pfail)' call the optimizer using function pointers e04ucc objfun, e04ucc confun and options structure' pointer, e04 options ptrobjfun ptr = e04ucc objfunconfun ptr = e04ucc confunlocal eo4 options ptr = e04 options ptrCall e04ucc(n, nclin, ncnlin, a(0), tda, bl(0), bu(0),objfun ptr, confun ptr, x(0), objf, objgrd(0), local e04 options ptr, ByVal 0&, pfail)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!