mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpimath] Add more docs to SimulatedAnnealing (NFC) (#6054)
This commit is contained in:
@@ -10,6 +10,12 @@ import java.util.function.ToDoubleFunction;
|
||||
/**
|
||||
* An implementation of the Simulated Annealing stochastic nonlinear optimization method.
|
||||
*
|
||||
* <p>Solving optimization problems involves tweaking decision variables to try to minimize some
|
||||
* cost function. Simulated annealing is good for solving optimization problems with many local
|
||||
* minima and a very large search space (it’s a heuristic solver rather than an exact solver like,
|
||||
* say, SQP or interior-point method). Simulated annealing is a popular choice for solving the
|
||||
* traveling salesman problem (see {@link edu.wpi.first.math.path.TravelingSalesman}).
|
||||
*
|
||||
* @see <a
|
||||
* href="https://en.wikipedia.org/wiki/Simulated_annealing">https://en.wikipedia.org/wiki/Simulated_annealing</a>
|
||||
* @param <State> The type of the state to optimize.
|
||||
|
||||
Reference in New Issue
Block a user