看板 MATLAB 關於我們 聯絡資訊
想請教大家 在Optimization tool當中 fmincon 如何限制找出的最佳解為實數 ? 如Help範例中,f(x)=-x1x2x3 startpoint x=[10;10;10] 0<=x1+2*x2+2*x3<=72 取出為實數解 x1=24 x2=12 x3=12 假使以上為例,需要怎麼撰寫程式碼限制只取實數解? 感謝大家不厭其煩看完描述,謝謝 -- Dream big and Start small -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.221.12