Re: Compiler optimizations and other performance hacks for HiGHS

David Menéndez Hurtado <[email protected]> Tue, 14 Mar 2023 16:29:04 +0100
Newsgroups gmane.comp.python.scientific.user
Message-ID <CAJhcF=22UsSP5BEMG9mJBKbaWAwUEXG9DWNDYaApKa3ic+v-aA@mail.gmail.com>
--===============4374459507705761518==
Content-Type: multipart/alternative; boundary="000000000000e2885905f6dde3ba"

--000000000000e2885905f6dde3ba
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Setting march=3Dnative on GCC usually buys you a bit of performance,
specially if you are running on high end modern hardware.

On Tue, 14 Mar 2023, 14:05 S=C3=B8ren Fuglede J=C3=B8rgensen via SciPy-User=
, <
[email protected]> wrote:

> I have a workflow where I'm solving a bunch of (non-integral) LPs, and
> `scipy.optimize._highs._highs_wrapper` is the main bottleneck, and I was
> looking for ways to squeeze out as much performance of that as I could. F=
or
> instance, I was looking around for stuff like "-O3" in the `meson.build`,
> `CMakeLists.txt`, `setup.py` but didn't find anything, so I was wondering
> if the compilation uses performance optimizations, or if it even matters.
> Or, more generally:
>
> Are there any tricks, hacks, optimizations that one should be aware of to
> get as much as possible out of HiGHS? I only care about LPs and stuff tha=
t
> works on x86 and/or ARM64.
>
> Thanks!
> _______________________________________________
> SciPy-User mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/scipy-user.python.org/
> Member address: [email protected]
>

--000000000000e2885905f6dde3ba
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Setting march=3Dnative on GCC usually buys you a bit of p=
erformance, specially if you are running on high end modern hardware.=C2=A0=
</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">=
On Tue, 14 Mar 2023, 14:05 S=C3=B8ren Fuglede J=C3=B8rgensen via SciPy-User=
, &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt=
; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">I have a workflow where I&=
#39;m solving a bunch of (non-integral) LPs, and `scipy.optimize._highs._hi=
ghs_wrapper` is the main bottleneck, and I was looking for ways to squeeze =
out as much performance of that as I could. For instance, I was looking aro=
und for stuff like &quot;-O3&quot; in the `meson.build`, `CMakeLists.txt`, =
`setup.py` but didn&#39;t find anything, so I was wondering if the compilat=
ion uses performance optimizations, or if it even matters. Or, more general=
ly:<br>
<br>
Are there any tricks, hacks, optimizations that one should be aware of to g=
et as much as possible out of HiGHS? I only care about LPs and stuff that w=
orks on x86 and/or ARM64.<br>
<br>
Thanks!<br>
_______________________________________________<br>
SciPy-User mailing list -- <a href=3D"mailto:[email protected]" target=
=3D"_blank" rel=3D"noreferrer">[email protected]</a><br>
To unsubscribe send an email to <a href=3D"mailto:[email protected]=
rg" target=3D"_blank" rel=3D"noreferrer">[email protected]</a><br=
>
<a href=3D"https://mail.python.org/mailman3/lists/scipy-user.python.org/" r=
el=3D"noreferrer noreferrer" target=3D"_blank">https://mail.python.org/mail=
man3/lists/scipy-user.python.org/</a><br>
Member address: <a href=3D"mailto:[email protected]" target=3D"_blank" =
rel=3D"noreferrer">[email protected]</a><br>
</blockquote></div>

--000000000000e2885905f6dde3ba--

--===============4374459507705761518==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SciPy-User mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-user.python.org/
Member address: [email protected]

--===============4374459507705761518==--