[Ipopt] Link problem

ycollette.nospam at free.fr ycollette.nospam at free.fr
Mon Sep 22 10:44:46 EDT 2014


OK thanks.
Damn comment !

Best regards,

YC

----- Mail original -----
De: "Stefan Vigerske" <stefan at math.hu-berlin.de>
À: "ycollette nospam" <ycollette.nospam at free.fr>, ipopt at list.coin-or.org
Envoyé: Lundi 22 Septembre 2014 16:38:57
Objet: Re: [Ipopt] Link problem

Hi,

I think the comment in IpIterativePardisoSolverInterface.cpp:69 explains it:
// The following global function pointer is defined in the Pardiso library

Stefan

On 09/22/2014 03:52 PM, ycollette.nospam at free.fr wrote:
> Hello,
>
> I am trying to write a cmakefile to compile ipopt.
> When compiling an example, I meet a link problem: the SetIpoptCallbackFunction is not defined.
>
>    void SetIpoptCallbackFunction(int (*IpoptFunction)(int n, double* x,  double* r, int k, double b));
>      SetIpoptCallbackFunction(&IpoptTerminationTest);
> src/Algorithm/Inexact/IpIterativePardisoSolverInterface.cpp
>
> In this file, the prototype function is present, the function is used, but it is not defined.
>
> Best regards,
>
> YC
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>




More information about the Ipopt mailing list