21template <
typename DecisionVariables>
41template <
typename DecisionVariables>
61 return *std::min_element(
64 if (a.status.exitCondition == SolverExitCondition::kSuccess &&
65 b.status.exitCondition != SolverExitCondition::kSuccess) {
70 return a.status.cost <
b.status.cost;
Definition FunctionRef.hpp:17
Definition small_vector.hpp:3616
constexpr void reserve(size_type new_capacity)
Definition small_vector.hpp:4082
Definition Expression.hpp:18
IntrusiveSharedPtr< T > AllocateIntrusiveShared(Alloc alloc, Args &&... args)
Definition IntrusiveSharedPtr.hpp:275
MultistartResult< DecisionVariables > Multistart(function_ref< MultistartResult< DecisionVariables >(const DecisionVariables &initialGuess)> solve, std::span< const DecisionVariables > initialGuesses)
Definition Multistart.hpp:42
Definition Multistart.hpp:22
SolverStatus status
Definition Multistart.hpp:23
DecisionVariables variables
Definition Multistart.hpp:24
Definition SolverStatus.hpp:15