[Bonmin] Maximizing an Objective Function

Kashif Rashid krashid at slb.com
Mon Feb 18 09:07:20 EST 2013


Adel,
Most optimizers are designed to minimize an objective function.
To maximize, you can simply multiply the objective function by -1.
If there is a flag in Bonmin to achieve this it will do the same thing.
Incidentally, it will not be the obj_scaling_factor.

Regards, Kashif


From: bonmin-bounces at list.coin-or.org [mailto:bonmin-bounces at list.coin-or.org] On Behalf Of Adel Boseli
Sent: Sunday, February 17, 2013 6:05 PM
To: bonmin at list.coin-or.org
Subject: [Bonmin] Maximizing an Objective Function

Hello everyone,

Can someone tell me how to use bonmin to maximize an objective function instead of minimize?

Some readings point to an option in IPOPT called obj_scaling_factor, is there something similar in Bonmin or can I set an IPOPT option for bonmin to use?

Thanks n advance...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/bonmin/attachments/20130218/b66a76ad/attachment.html>


More information about the Bonmin mailing list