Re: [gecode-users] Linear function problem

2013-08-27 Thread Guido Tack
You've probably swapped rows and columns of the matrix, please have a look at the documentation. The error says that the size of the coefficient array is different from the size of the variable array. Cheers, Guido -- Guido Tack On 28/08/2013, at 7:11, manel askri wrote: > hi everyone ! >

[gecode-users] Linear function problem

2013-08-27 Thread manel askri
hi everyone ! I have problem with Linear function when i compile , the compiler tells me that : exeption Int::linear :size of arguments mismatch i think that the problem is with the linear function : my code is this : #include #include #include #include using namespace Gecode; class MMKP