File simulated_annealing.hpp
Defines
-
CONSTANT_1
A magic number! when estimating the diameter of the spectrahedron, sample 20 + sqrt(dimension) points to estimate it
Functions
-
template<typename _Spectrahedron, typename Point, typename _Settings>
double solve_sdp(_Spectrahedron &spectrahedron, Point const &objectiveFunction, _Settings const &settings, Point const &interiorPoint, Point &solution, bool verbose = false) Simulated Annealing algorithm for a semidefinite program Minimize [ c^T x ], s.t. LMI(x) <= 0
- Parameters:
spectrahedron – [in] A spectrahedron described by a linear matrix inequality
objectiveFunction – [in] The function we minimize
settings – [in] Parameters of the algorithm
interiorPoint – [in] An initial feasible solution to start the algorithm
solution – [out] The vector minimizing the objective function
verbose – [in] True to print messages. Default is false
- Returns:
The best approximation to the optimal solution
-
template<class Point>
struct SimulatedAnnealingSettings - #include <simulated_annealing.hpp>
Holds parameters of the algorithm
- Template Parameters:
Point – Point Type
Public Functions