[gecode-users] Sizes of argument arrays mismatch

mehdi m medistif at hotmail.fr
Sun Jan 19 21:23:04 CET 2014


Hello everyone,in my model i have a problem, a try to use create a matrix such as :
const int n=5;const int m=10;
IntArgs D;
Matrix <IntArgs> bdd (D , n, m);
i need the type IntArgs in my model.
this gives me  an error :
Exception: Matrix::Matrix(A, w, h): Sizes of argument arrays mismatch stopping.
but when I try to initialize D to size n*m, the type IntArgs accept one parameter such as IntArgs( int n).  i tried to do this : D (*this, n*m,0,1) but it doesn't work
if someone has an idea, thank you.
Mehdi. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20140119/046f90fa/attachment.html>


More information about the users mailing list