[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [lmi-commits] master 1a54e49 1/2: Clarify non-MEC solves
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] [lmi-commits] master 1a54e49 1/2: Clarify non-MEC solves |
Date: |
Mon, 14 Sep 2020 22:28:11 +0200 |
On Fri, 11 Sep 2020 15:43:30 -0400 (EDT) Greg Chicares
<gchicares@sbcglobal.net> wrote:
GC> branch: master
GC> commit 1a54e490ed35a6a2e56aa852d4d23c596477db50
GC> Author: Gregory W. Chicares <gchicares@sbcglobal.net>
GC> Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
GC>
GC> Clarify non-MEC solves
GC>
GC> Changed the objective function to
GC> is_mec ? -1.0 : 1.0
GC> which expresses the intention clearly, as opposed to the old
GC> 0.5 - is_mec
GC> which was just too cute. Improved documentation.
Oh, thanks for doing this! I remember stumbling on this expression when I
was reading lmi code and while I think I did realize what it meant after
thinking about it, it definitely took me some time and I was rather unhappy
about its cuteness.
So this change is definitely welcome!
VZ
pgpCJrZiOs8He.pgp
Description: PGP signature
- Re: [lmi] [lmi-commits] master 1a54e49 1/2: Clarify non-MEC solves,
Vadim Zeitlin <=