Modified example/wedding.py and related files to maximize happiness#784
Modified example/wedding.py and related files to maximize happiness#784aralsea wants to merge 3 commits intocoin-or:masterfrom
Conversation
|
|
|
I think you then have to change the returned value of the happiness function, to keep it working as before. For exmple by multiplying by minus 1 or making the inverse of the value |
|
@pchtsp Thank you for your quick feedback! |
|
In addition, I also added similar changes to related files that I initially missed. |
This PR is a simple fix in example/wedding.py. Since the objective function is defined as
happiness, it makes more sense to use maximize rather than minimize.