Thanks !!! But sadly, now I get this error :
si.loadProblem(matrix[0], col_lb, col_ub, objective, row_lb, row_ub); ^ ------------------------------------------------------------ /user/ncohen/home/sage/EXAMPLEOSI.pyx:102:21: Cannot assign type 'c_CoinPackedMatrix' to 'c_CoinPackedMatrix *' Nathann On Jul 8, 4:12 pm, Martin Albrecht <m...@informatik.uni-bremen.de> wrote: > On Wednesday 08 July 2009, Nathann Cohen wrote: > > > Hello !!! > > > When dealing with pointers in Cython, I had to learn the equivalent to > > the & in C was cython.address(). What is the reverse of this > > function ? What is the equivalent of * ? > > You can also use & in Cython, I do it all the time. > > > I was not able to find this on google but looking for characters like > > & and * is a bit tricky.. ;-) > > try a[0] (which is also valid in C) > > Cheers, > Martin > > -- > name: Martin Albrecht > _pgp:http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 > _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF > _www:http://www.informatik.uni-bremen.de/~malb > _jab: martinralbre...@jabber.ccc.de --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---