Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GEKKO Result explanation

Tags:

python

gekko

would you mind sparing some time explaining why the Obj is zero here in some iterations?

enter image description here

tcstd and tdstd is min-max standardize of tc and td. I want to minimize tcstd*tdstd so the value of objective function should be 0-1. however during the process, the obj appears to be 0 but not define as optimal solution ? Thank you

like image 557
kennnn Avatar asked Feb 01 '26 19:02

kennnn


1 Answers

The lines listed as zero objective are either non-integer solutions or non-feasible solutions. The lines with:

--Integer solution:

identify when the solver finds a candidate integer solution. The other lines are either successful (non-integer) with I:0

Iter :28 I: 0 Tm: 0.00 NLPi: 3 Dpth: 7 Lvs: 1 Obj: 0.00E00 Gap: 5.22E-0.2

or unsuccessful (I:<=-1) and therefore not candidate solutions with

Iter:29 I:-9 Tm :0.06 NLPi: 251 Dpth: 3 Lvs: 0 Obj: 7.36E-04 Gap: 5.15E-02

The final message is:

No additional trial points, returning the best integer solution 
Successful solution 

This says that there are no additional candidate solutions to try in the branch and bound approach. The best integer solution is returned.

In the future, please include a text version of the error instead of an image. It makes it easier for those with similar questions to find the question.

like image 53
John Hedengren Avatar answered Feb 04 '26 09:02

John Hedengren



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!