|
Á¦ ¸ñ |
branch and bound¿¡¼ ³ëµå¸¦ º¼·Á¸é |
|
ÀÛ¼ºÀÚ |
±è볽¼ø |
ÀÛ¼ºÀÏ |
2002-05-26 |
Á¶È¸¼ö |
1365 ȸ |
|
÷ºÎÆÄÀÏ |
÷ºÎµÈ ÆÄÀϾøÀ½.
|
|
branch and bound ¹®Á¦¿¡¼
¿¹¹®>>
max obj: 77x1+6x2+3x3+6x4+33x5+13x6+110x7+21x8+47x9 st 774x1+76x2+22x3+42x4+21x5+760x6+818x7+62x8+785x9<=1500 67x1+27x2+794x3+53x4+234x5+32x6+797x7+97x8+435x9<=1500 binaries x1 x2 x3 x4 x5 x6 x7 x8 x9 end
¹®Á¦°¡ ÀÖÀ»¶§, ÀÌ ¹®Á¦¸¦ CPLEX µ¹¸®¸é... ´ÙÀ½°ú °°Àº ¸Þ½ÃÁö°¡ ³ª¿É´Ï´Ù.
Nodes Cuts/ Node Left Objective IInf Best Integer Best Node ItCnt Gap Variable B Parent Depth
0 0 225.6895 2 225.6895 2 187.2174 1 Cuts: 5 4 * 176.0000 0 176.0000 Covers: 1 6
GUB cover cuts applied: 1 Cover cuts applied: 3 Gomory fractional cuts applied: 2
Integer optimal solution: Objective = 1.7600000000e+002 Solution time = 0.06 sec. Iterations = 6 Nodes = 0
¿©±â¿¡¼ cutµÈ ³ëµå¸¦ º¸±â À§ÇØ,
set -> mip -> all ¿¡¼ variable strategy selectionÀ» ÇÕ´Ï´Ù. ÇÏ°í ³ÈÄ, ³ëµå¸¦ º¸·Á¸é ¾î¶»°Ô ÇØ¾ß ÇÏ´ÂÁö ¸ð¸£°Ú½À´Ï´Ù.
¶ÇÇÑ, Áö³¹ø ¸»¾¸ÇØ ÁֽŠreduced cost¸¦ º¸±âÀ§ÇØ
display -> solution -> reduced¸¦ ÀÔ·ÂÇØ¼ °ªÀ» È®ÀÎÇߴµ¥, ¸Â´ÂÁö¿ä?
¾Æ...ÇѰ¡Áö ´õ ¾Ë°í½Í½À´Ï´Ù. mpsÆÄÀÏ (mixed integer programming)À» ¸¸µå´Â notation¿¡ ´ëÇØ ¾Ë°í ½Í½À´Ï´Ù.
cplex reference manualÀÇ example.mpsÀ» ºÃÁö¸¸ ³»¿ëÀ» Àß ¸ð¸£°Ú½À´Ï´Ù.
ÇÑ °¡Áö ´õ... cplex·Î ¹®Á¦¸¦ Ç®¸é cplex.log¿¡ °á°ú°¡ ÀúÀåµÇ´Âµ¥, Ʋ¸° °á°ú´Â ÀúÀåÀÌ ¾ÈµÇ´Â °Í °°½À´Ï´Ù. log ÆÄÀÏ¿¡ ÀúÀåµÇ´Â ³»¿ëÀÇ ±âÁØÀÌ ¹«¾ùÀÎÁö ¾Ë°í ½Í½À´Ï´Ù.
°¨»çÇÕ´Ï´Ù. |
|
|
|