[Coin-ipopt] Using UserDataPtr

Andreas Waechter andreasw at watson.ibm.com
Fri Apr 14 13:03:58 EDT 2006


Hi Amit,

You could have a look at the C example from the older Fortran version of 
Ipopt.  Even though that interface is different, it uses the UserData in a 
very similar way.  The URL directly to the code for the Example is:

http://www.coin-or.org/cgi-bin/cvsweb.cgi/COIN/Ipopt/EXAMPLES/C_example/example.c?rev=1.3

I hope this helps,

Andreas

On Mon, 10 Apr 2006, Amit Partani wrote:

> Hi,
> I donot know how to use UserDataPtr because it is a void* as opposed to
> regular type definitions. I would appreciate if anyone can send a simple
> example how to use void * pointers..
>
> Thanks,
> Amit
>
> _______________________________________________
> Coin-ipopt mailing list
> Coin-ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-ipopt
>



More information about the Coin-ipopt mailing list