Hi group,
Can you kindly give some hint on the possible relationship between linear constraint and the ArgumentSizeMismatch expection?

My program is running under Virtual C++ 2008 Express Edition, and every time I debug it. It will give below output with an arrow pointing to my linear constraint in the editor. My linear constraint is as below:
linear(*this,scene_actor_matrix.col(a),shooting_day_and_scene_matrix.row(d),IRT_EQ,sum,ICL_DEF);

And the exception message:
First-chance exception at 0x76a1b727 in NewSceneAllocation.exe: Microsoft C++ exception: Gecode::Int::ArgumentSizeMismatch at memory location 0x001cf364..
Unhandled exception at 0x76a1b727 in NewSceneAllocation.exe: Microsoft C++ exception: Gecode::Int::ArgumentSizeMismatch at memory location 0x001cf364..


I also tried initializing the matrixes with proper domain and also checked the size of the matrix. Still got the exception.

Thanks for your reply in advance.

Regards,
Yong


_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to