如何求G中目标函数的值

2024-04-25 01:44:43 发布

您现在位置:Python中文网/ 问答频道 /正文

我在Gekko有一个工作程序

EXIT: Optimal Solution Found.

 The solution was found.

 The final value of the objective function is   -17.8543906759043     

---------------------------------------------------
 Solver         :  IPOPT (v3.12)
 Solution time  :   0.158899999994901      sec
 Objective      :   -17.8543906759043     
 Successful solution
 ---------------------------------------------------

我只想保存目标函数的值。有办法吗?你知道吗


Tags: ofthe程序valueexitoptimalfinalsolution