News for hackers. Stuff that matters.
Re:Ask HN: Do you use an optimization solver? Which one? Do ... by tornadofart on Thursday April 21, 2022 @01:40AM (#31106321)
Genetic algorithms are known to produce quasi-optimal results in a short time, if set up accordingly. They can be also applied to problems where constraints are very complex to explicitly formulate. Designing one is no picnic, though, and always problem-specific.
Re:Ask HN: Do you use an optimization solver? Which one? Do ... by nuclearnice1 on Thursday April 21, 2022 @08:40AM (#31108629)
Interesting.

What do you mean by quasi optimal?

Genetic algorithms product quasi optimal results but simulated annealing will not?

Re:Ask HN: Do you use an optimization solver? Which one? Do ... by tornadofart on Tuesday May 03, 2022 @07:56AM (#31247221)
Quasi-optimal means you can't prove that the algorithm will always find the optimal solution, though for all practical purposes, the algorithm will find it for over 99% of the time.