Python Forum
Need an alternative to brute force optimization loop
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need an alternative to brute force optimization loop
#6
I've heard using integers is faster than float numbers if you are doing millions and millions of calculations. Maybe you could find some way to use integers instead of floats? Ie.. shift the float input the number of sig figs you require, do your calculations as ints, then shift it back when complete?
Reply


Messages In This Thread
RE: Need an alternative to brute force optimization loop - by RockBlok - Dec-07-2023, 12:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Twilio alternative jmair 3 3,957 Feb-08-2024, 01:55 PM
Last Post: Sharmi
  Pillow alternative? kucingkembar 4 946 Jul-27-2023, 10:50 AM
Last Post: Larz60+
  Solving an equation by brute force within a range alexfrol86 3 2,895 Aug-09-2022, 09:44 AM
Last Post: Gribouillis
  force a program to exit ? Armandito 3 2,626 May-12-2022, 04:03 PM
Last Post: Gribouillis
  How to use scipy.optimization.brute for multivariable function Shiladitya 9 6,389 Oct-28-2020, 10:40 PM
Last Post: scidam
  Alternative for Cairosvg? Maryan 0 2,490 Oct-26-2020, 01:27 PM
Last Post: Maryan
  best way to force an exception Skaperen 2 2,109 Oct-21-2020, 05:59 AM
Last Post: Gribouillis
  I need advise with developing a brute forcing script fatjuicypython 11 5,254 Aug-21-2020, 09:20 PM
Last Post: Marbelous
  another alternative to np.interp evelynow 1 2,978 Aug-22-2019, 03:32 PM
Last Post: Larz60+
  Multithreading alternative MartinV279 1 2,825 Aug-01-2019, 11:41 PM
Last Post: scidam

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020