Good pick !! ;-)

It seems ok now that I have changed the function's definition.. I
still have one other bug to solve (http://groups.google.com/group/sage-
devel/browse_thread/thread/eb507cfad11d9167) before the linking
process ( I'm a bit scared of that one ) and then I will now if this
whole code works ;-)

Thank you !!

Nathann

On Jul 8, 4:22 pm, Martin Albrecht <m...@informatik.uni-bremen.de>
wrote:
> On Wednesday 08 July 2009, Nathann Cohen wrote:
>
> > 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 *'
>
> It seems your loadProblem() function expects a pointer (c_CoinPackedMatrix *)
> but you dereference it and thus give it c_CoinPackedMatrix directly. matrix[0]
> is not the problem, it just doesn't match what your function expects (maybe
> you just need to change the declaration to c_CoinPackedMatrix *
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to