|
Á¦ ¸ñ |
[RE]cplex¿¡·¯ |
|
ÀÛ¼ºÀÚ |
±èÅÂÇö |
ÀÛ¼ºÀÏ |
2005-03-09 |
Á¶È¸¼ö |
852 ȸ |
|
÷ºÎÆÄÀÏ |
÷ºÎµÈ ÆÄÀϾøÀ½.
|
|
Out of bounds operation Assertion failed: =0 &&i getimpl<>->getSize<>> ::ILOSTD<<¡±out of bounds operation¡±<, 0>,file c:\ilog\concert12\include\ilooncert\iloenv.h,line 1371
ÇØ´ç Error Message´Â ¹è¿ »ý¼ºÀ̳ª, ¹è¿À» ÀÌ¿ëÇÑ Á¦¾àÃß°¡½Ã¿¡ ÇØ´ç ¹è¿ÀÇ index¸¦ ÂüÁ¶ÇÒ ¼ö ¾øÀ»¶§ ¹ß»ýÇÏ´Â MessageÀÔ´Ï´Ù.
º¯¼ö »ý¼º ºÎºÐ°ú Á¦¾à Ãß°¡ ºÎºÐÀ» ´Ù½Ã Çѹø È®ÀÎÇØ º¸½Ã±â ¹Ù¶ø´Ï´Ù. ¶ÇÇÑ ¾î¶² º¯¼ö³ª Á¦¾à¿¡¼ ¿¡·¯°¡ ¹ß»ýÇÏ´ÂÁö ¾Ë±â ½±°Ô Çϱâ À§ÇØ..
1. º¯¼ö »ý¼º ½Ã nameÀ» ÁÖ½Ã°í »ý¼ºÇϰųª, ex) string name = "sampleVar"; IloNumVar _sampleVar(env, 0, IloInfinity, name.c_str());
2. Á¦¾à »ý¼º ½Ã nameÀ» ÁÖ½Ã°í »ý¼ºÇÏ°Ô µÇ¸é, ¾î¶²°÷¿¡¼ ¿¡·¯°¡ ¹ß»ýÇÏ´Â Áö ´õ¿í ½±°Ô ¾Ë¼ö ÀÖ½À´Ï´Ù.. ex) IloConstraint ct = (_sampleVar <= 1); string name = "ConstraintSampleVar "; ct.setName(name.c_str()); model.add(ct);
µµ¿òÀÌ µÇ¼Ì±æ ¹Ù¶ø´Ï´Ù.
|
|
|
|