0
有沒有使用lpsolve解決對數目標函數的機會?確實,我想在lpsolve IDE中將以下代碼的第一行更改爲log(x11 b11 + x12 b12 + x21 b21 + x22 b22),但是lpsolve無法解決此問題。這裏有沒有人處理過這種情況?謝謝。使用lpsolve求解對數方程
max: x11 b11 + x12 b12 + x21 b21 + x22 b22;
x11 + x21 = 1;
x12 + x22 = 1;
54 = b11 x11 + b11 x12;
54 = b12 x11 + b12 x12;
54 = b21 x21 + b21 x22;
54 = b22 x21 + b22 x22;
bin x11, x12, x21, x22;