Hi everyone! In my model, I have to get the variables of my matrix from a program that is written in JAVA. Firstable, i get these varibles from another class in C++ and the model worked, but when i try to send the argument from java get this error :
Exception: Matrix::Matrix(A, w, h): Sizes of argument arrays mismatch. but i used the same size of argument !!!!!!!!!!!!!!!!!!!!!! this is a part of the code and it works in C++: MMKP (const Options& opt) : a(*this,reader2.lire_size_nodes()*reader2.lire_size_testers(), 0,1){ const int nodes=reader2.lire_size_nodes(); const int testers= reader2.lire_size_testers(); Matrix <BoolVarArray> X (a,nodes,testers);////// here when i get the error So Do you have any idea about that ????? Thank YOU Naguissa
_______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users